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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001428/0.001428, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.2/3.2, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004575, allocations: 5.938 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4361, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0152/0.4513, allocations: 12.01 MB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002616/0.454, allocations: 2.467 MB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.4541, allocations: 0 / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.4543, allocations: 31.81 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.4546, allocations: 91.41 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009913/0.4556, allocations: 409.3 kB / 1.073 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.4559, allocations: 259.9 kB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.4559, allocations: 17.44 kB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008997/0.4649, allocations: 4.372 MB / 1.077 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.4652, allocations: 95.64 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4652, allocations: 4 kB / 1.077 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.4676, allocations: 0.9452 MB / 1.078 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.4677, allocations: 35.83 kB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.4678, allocations: 57.64 kB / 1.078 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.4683, allocations: 223.4 kB / 1.079 GB, free: 304 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4683, allocations: 0 / 1.079 GB, free: 304 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4683, allocations: 0 / 1.079 GB, free: 304 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4683, allocations: 0 / 1.079 GB, free: 304 kB / 0.8262 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.0007753/0.4691, allocations: 475.2 kB / 1.079 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4691, allocations: 12.03 kB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.4693, allocations: 19.81 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.4695, allocations: 226.7 kB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4696, allocations: 8.328 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.4696, allocations: 16 kB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.47, allocations: 247.9 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.47, allocations: 3.984 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.47, allocations: 12 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.4701, allocations: 4 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.4706, allocations: 427.5 kB / 1.08 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.4718, allocations: 0.9644 MB / 1.081 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.4721, allocations: 155 kB / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.4722, allocations: 68.8 kB / 1.081 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.4737, allocations: 1.829 MB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4737, allocations: 42.52 kB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.4737, allocations: 0 / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003409/0.4741, allocations: 145.3 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4741, allocations: 51.41 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.4743, allocations: 168 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.4744, allocations: 33.7 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.4744, allocations: 139.8 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.4745, allocations: 59.19 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.4745, allocations: 4 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4747, allocations: 326.8 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.4747, allocations: 31.97 kB / 1.084 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.4749, allocations: 143.8 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.756e-05/0.475, allocations: 55.92 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.475, allocations: 3.938 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003134/0.4753, allocations: 221 kB / 1.084 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4753, allocations: 4 kB / 1.084 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4754, allocations: 7.953 kB / 1.084 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4754, allocations: 8 kB / 1.084 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.4756, allocations: 55.91 kB / 1.084 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4756, allocations: 8.453 kB / 1.084 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.4757, allocations: 35.69 kB / 1.084 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.4757, allocations: 8 kB / 1.084 GB, free: 9.664 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.4758, allocations: 131.2 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.4759, allocations: 19.89 kB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.4762, allocations: 161.9 kB / 1.085 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4762, allocations: 3.953 kB / 1.085 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4762, allocations: 0 / 1.085 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4762, allocations: 8 kB / 1.085 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.4765, allocations: 221.4 kB / 1.085 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4765, allocations: 0 / 1.085 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.4766, allocations: 27.98 kB / 1.085 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4766, allocations: 0 / 1.085 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.4766, allocations: 4 kB / 1.085 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.4767, allocations: 0 / 1.085 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4767, allocations: 11.89 kB / 1.085 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.4769, allocations: 203.4 kB / 1.085 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.477, allocations: 120.8 kB / 1.085 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.477, allocations: 0 / 1.085 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4772, allocations: 19.98 kB / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.4773, allocations: 15.94 kB / 1.085 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.4773, allocations: 11.98 kB / 1.085 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001035/0.4774, allocations: 120 kB / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4774, allocations: 0 / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003812/0.4778, allocations: 75.94 kB / 1.085 GB, free: 8.438 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002903/0.4781, allocations: 183.1 kB / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.4783, allocations: 112.1 kB / 1.086 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4783, allocations: 3.938 kB / 1.086 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.385e-05/0.4784, allocations: 43.92 kB / 1.086 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.4789, allocations: 59.41 kB / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.4796, allocations: 438.3 kB / 1.086 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.48, allocations: 0.7055 MB / 1.087 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000176/0.4801, allocations: 57.67 kB / 1.087 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.4802, allocations: 23.44 kB / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.4802, allocations: 4 kB / 1.087 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.006962/0.4872, allocations: 3.387 MB / 1.09 GB, free: 3.422 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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 & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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