Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007508/0.007508, allocations: 100.3 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 188.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 60.34 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2748, allocations: 162.2 MB / 1.241 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006339/0.2812, allocations: 4.73 MB / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003146/0.2844, allocations: 2.698 MB / 1.249 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.2845, allocations: 0 / 1.249 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.2847, allocations: 47.66 kB / 1.249 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.285, allocations: 91.38 kB / 1.249 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.2862, allocations: 0.497 MB / 1.249 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.2865, allocations: 231.9 kB / 1.25 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.2866, allocations: 21.52 kB / 1.25 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.2868, allocations: 111.6 kB / 1.25 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.287, allocations: 95.59 kB / 1.25 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.287, allocations: 8 kB / 1.25 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007288/0.2877, allocations: 359.3 kB / 1.25 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.026e-05/0.2878, allocations: 43.89 kB / 1.25 GB, free: 268 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.628e-05/0.2879, allocations: 87.58 kB / 1.25 GB, free: 180 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.2886, allocations: 355.2 kB / 1.251 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2886, allocations: 0 / 1.251 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2886, allocations: 0 / 1.251 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.2886, allocations: 0 / 1.251 GB, free: 15.83 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007521/0.2893, allocations: 0.5064 MB / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2894, allocations: 8.031 kB / 1.251 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.2894, allocations: 58.67 kB / 1.251 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2896, allocations: 28.83 kB / 1.251 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.2899, allocations: 208.2 kB / 1.251 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2899, allocations: 8.703 kB / 1.251 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.29, allocations: 20.38 kB / 1.251 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.2904, allocations: 244 kB / 1.252 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2904, allocations: 3.938 kB / 1.252 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.2904, allocations: 16 kB / 1.252 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.2904, allocations: 4 kB / 1.252 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.291, allocations: 431.5 kB / 1.252 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.2922, allocations: 0.9527 MB / 1.253 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.2925, allocations: 156.9 kB / 1.253 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.2926, allocations: 64.38 kB / 1.253 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.2941, allocations: 1.829 MB / 1.255 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.2942, allocations: 34.56 kB / 1.255 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.2942, allocations: 0 / 1.255 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003405/0.2945, allocations: 152.5 kB / 1.255 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.2946, allocations: 51.41 kB / 1.255 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2948, allocations: 180.4 kB / 1.255 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.2948, allocations: 37.58 kB / 1.255 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.2949, allocations: 148 kB / 1.256 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.2949, allocations: 51.59 kB / 1.256 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.295, allocations: 57.69 kB / 1.256 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2952, allocations: 326.8 kB / 1.256 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.2953, allocations: 27.98 kB / 1.256 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2954, allocations: 141.7 kB / 1.256 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.2957, allocations: 205.5 kB / 1.256 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2957, allocations: 0 / 1.256 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000351/0.296, allocations: 211.6 kB / 1.257 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2961, allocations: 8 kB / 1.257 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2961, allocations: 4 kB / 1.257 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2961, allocations: 7.938 kB / 1.257 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.2963, allocations: 59.91 kB / 1.257 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.2963, allocations: 7.938 kB / 1.257 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.2964, allocations: 27.78 kB / 1.257 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2965, allocations: 12 kB / 1.257 GB, free: 8.859 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.2966, allocations: 142.5 kB / 1.257 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.2966, allocations: 15.91 kB / 1.257 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.297, allocations: 158.9 kB / 1.257 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.297, allocations: 3.938 kB / 1.257 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.297, allocations: 0 / 1.257 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.297, allocations: 3.984 kB / 1.257 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.2973, allocations: 217.6 kB / 1.257 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2973, allocations: 0 / 1.257 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.395e-05/0.2974, allocations: 27.92 kB / 1.257 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2974, allocations: 4 kB / 1.257 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2974, allocations: 8 kB / 1.257 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2974, allocations: 3.938 kB / 1.257 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2974, allocations: 0 / 1.257 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.2977, allocations: 221.3 kB / 1.257 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2978, allocations: 112.9 kB / 1.258 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2978, allocations: 3.984 kB / 1.258 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.2981, allocations: 19.92 kB / 1.258 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.2981, allocations: 15.92 kB / 1.258 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.2981, allocations: 12 kB / 1.258 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.568e-05/0.2982, allocations: 123.9 kB / 1.258 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2982, allocations: 0 / 1.258 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003856/0.2986, allocations: 75.86 kB / 1.258 GB, free: 7.617 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007521/0.2994, allocations: 0.8253 MB / 1.259 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.2996, allocations: 118.6 kB / 1.259 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.2997, allocations: 4.25 kB / 1.259 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.2997, allocations: 47.91 kB / 1.259 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3002, allocations: 43.91 kB / 1.259 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.3025, allocations: 2.051 MB / 1.261 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3029, allocations: 0.7128 MB / 1.262 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.303, allocations: 53.73 kB / 1.262 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.3031, allocations: 43.42 kB / 1.262 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3031, allocations: 0 / 1.262 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.3288, allocations: 5.25 MB / 1.267 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.062, allocations: 11.31 kB / 1.267 GB, free: 14.35 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches