Application of advanced electromagnetic flow meters in building water supply and drainage