Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.005361/0.005361, allocations: 96.84 kB / 15.73 MB, free: 6.055 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.001212/0.001212, allocations: 192.8 kB / 16.67 MB, free: 5.965 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 1.054 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8341/0.8355, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0162/0.8518, allocations: 12.97 MB / 1.22 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003286/0.8551, allocations: 2.671 MB / 1.223 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.8553, allocations: 4 kB / 1.223 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.8557, allocations: 39.69 kB / 1.223 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.8561, allocations: 103.3 kB / 1.223 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.8577, allocations: 0.5013 MB / 1.223 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.858, allocations: 224 kB / 1.223 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.8581, allocations: 9.562 kB / 1.223 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008975/0.8671, allocations: 3.59 MB / 1.227 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.8673, allocations: 87.66 kB / 1.227 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.8674, allocations: 11.94 kB / 1.227 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.8704, allocations: 1.088 MB / 1.228 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.8705, allocations: 39.89 kB / 1.228 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.8706, allocations: 83.64 kB / 1.228 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009322/0.8716, allocations: 367 kB / 1.229 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8716, allocations: 0 / 1.229 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8716, allocations: 0 / 1.229 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.8716, allocations: 0 / 1.229 GB, free: 7.672 MB / 0.9512 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.000927/0.8725, allocations: 0.5031 MB / 1.229 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.8726, allocations: 8.031 kB / 1.229 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/0.8727, allocations: 54.73 kB / 1.229 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.8729, allocations: 20.75 kB / 1.229 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.8733, allocations: 228 kB / 1.229 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.8733, allocations: 8.703 kB / 1.229 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.8734, allocations: 16.38 kB / 1.229 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.8738, allocations: 248 kB / 1.23 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.8738, allocations: 0 / 1.23 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.8738, allocations: 11.98 kB / 1.23 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.8738, allocations: 12 kB / 1.23 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.8744, allocations: 427.5 kB / 1.23 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.8755, allocations: 0.9527 MB / 1.231 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.8758, allocations: 161 kB / 1.231 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.8759, allocations: 64.88 kB / 1.231 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.8773, allocations: 1.837 MB / 1.233 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.8774, allocations: 34.56 kB / 1.233 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.8774, allocations: 0 / 1.233 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003647/0.8778, allocations: 145.4 kB / 1.233 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.8778, allocations: 55.39 kB / 1.233 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.878, allocations: 171.3 kB / 1.233 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.878, allocations: 29.7 kB / 1.233 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.8781, allocations: 147.8 kB / 1.234 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.8782, allocations: 51.2 kB / 1.234 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.8782, allocations: 57.61 kB / 1.234 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.8783, allocations: 326.8 kB / 1.234 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.821e-05/0.8784, allocations: 35.97 kB / 1.234 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.8786, allocations: 135.5 kB / 1.234 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.8788, allocations: 204.2 kB / 1.234 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8788, allocations: 0 / 1.234 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003202/0.8791, allocations: 209.6 kB / 1.235 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.8792, allocations: 10.38 kB / 1.235 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.8792, allocations: 4 kB / 1.235 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.8792, allocations: 7.938 kB / 1.235 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.8794, allocations: 59.86 kB / 1.235 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.8794, allocations: 7.938 kB / 1.235 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.8795, allocations: 31.73 kB / 1.235 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.8795, allocations: 19.94 kB / 1.235 GB, free: 0.6953 MB / 0.9512 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.0001059/0.8796, allocations: 133.7 kB / 1.235 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.8797, allocations: 19.81 kB / 1.235 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.88, allocations: 151 kB / 1.235 GB, free: 396 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.88, allocations: 3.938 kB / 1.235 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.88, allocations: 3.938 kB / 1.235 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.88, allocations: 3.984 kB / 1.235 GB, free: 384 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.8803, allocations: 217.5 kB / 1.235 GB, free: 116 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.8803, allocations: 0 / 1.235 GB, free: 116 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.743e-05/0.8804, allocations: 27.98 kB / 1.235 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.8804, allocations: 4 kB / 1.235 GB, free: 84 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.8805, allocations: 0 / 1.235 GB, free: 84 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.8805, allocations: 3.938 kB / 1.235 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8805, allocations: 4 kB / 1.235 GB, free: 76 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.8807, allocations: 224.1 kB / 1.235 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.8808, allocations: 112.8 kB / 1.236 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.8809, allocations: 4 kB / 1.236 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.881, allocations: 15.92 kB / 1.236 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.8811, allocations: 8 kB / 1.236 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.8811, allocations: 19.98 kB / 1.236 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.713e-05/0.8812, allocations: 116 kB / 1.236 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8812, allocations: 0 / 1.236 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003916/0.8816, allocations: 75.98 kB / 1.236 GB, free: 15.48 MB / 0.9669 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.000701/0.8823, allocations: 0.8363 MB / 1.237 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.8825, allocations: 120.4 kB / 1.237 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8826, allocations: 256 / 1.237 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.8826, allocations: 43.98 kB / 1.237 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.8831, allocations: 61.83 kB / 1.237 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.8852, allocations: 2.04 MB / 1.239 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.8855, allocations: 0.7129 MB / 1.239 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.8856, allocations: 49.67 kB / 1.24 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.8857, allocations: 51.42 kB / 1.24 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.8857, allocations: 0 / 1.24 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.9092, allocations: 5.533 MB / 1.245 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/8.543, allocations: 3.078 kB / 1.245 GB, free: 5.969 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches