Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 185.1 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 223.2 MB / 0.7948 GB, free: 17.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000954/0.0009537, allocations: 100.2 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 6.969 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3465, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.619, allocations: 450.2 MB / 1.662 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/1.62, allocations: 84.5 kB / 1.663 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.2302/1.85, allocations: 87.53 MB / 1.748 GB, free: 96 kB / 1.042 GB Notification: Performance of FrontEnd: time 3.156e-06/1.85, allocations: 4 kB / 1.748 GB, free: 92 kB / 1.042 GB Notification: Performance of Transformations before backend: time 1.582e-05/1.85, allocations: 7.75 kB / 1.748 GB, free: 88 kB / 1.042 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.003432/1.853, allocations: 0.7511 MB / 1.749 GB, free: 15.3 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.854, allocations: 8.031 kB / 1.749 GB, free: 15.29 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/1.854, allocations: 27.75 kB / 1.749 GB, free: 15.27 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/1.854, allocations: 213.9 kB / 1.749 GB, free: 15.03 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.854, allocations: 11.27 kB / 1.749 GB, free: 15.02 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/1.854, allocations: 19.62 kB / 1.749 GB, free: 15.01 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/1.854, allocations: 237.8 kB / 1.749 GB, free: 14.81 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/1.854, allocations: 7.938 kB / 1.749 GB, free: 14.8 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/1.855, allocations: 7.25 kB / 1.749 GB, free: 14.8 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/1.855, allocations: 8 kB / 1.749 GB, free: 14.8 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/1.855, allocations: 431.8 kB / 1.75 GB, free: 14.45 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/1.856, allocations: 1.02 MB / 1.751 GB, free: 13.45 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/1.857, allocations: 163.8 kB / 1.751 GB, free: 13.31 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/1.858, allocations: 1.855 MB / 1.753 GB, free: 11.15 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/1.858, allocations: 38.12 kB / 1.753 GB, free: 11.11 MB / 1.057 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/1.858, allocations: 0 / 1.753 GB, free: 11.11 MB / 1.057 GB Notification: Performance of matching and sorting (n=15): time 0.0003016/1.859, allocations: 142.1 kB / 1.753 GB, free: 10.99 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/1.859, allocations: 59.39 kB / 1.753 GB, free: 10.92 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/1.859, allocations: 155.4 kB / 1.753 GB, free: 10.77 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/1.859, allocations: 33.52 kB / 1.753 GB, free: 10.74 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/1.859, allocations: 142.6 kB / 1.753 GB, free: 10.61 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/1.859, allocations: 46.36 kB / 1.753 GB, free: 10.57 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/1.859, allocations: 3.625 kB / 1.753 GB, free: 10.57 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.859, allocations: 322.6 kB / 1.754 GB, free: 10.25 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/1.859, allocations: 38.59 kB / 1.754 GB, free: 10.22 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/1.859, allocations: 137.7 kB / 1.754 GB, free: 10.05 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/1.859, allocations: 65.98 kB / 1.754 GB, free: 10 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.859, allocations: 4 kB / 1.754 GB, free: 9.996 MB / 1.057 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003018/1.86, allocations: 208.9 kB / 1.754 GB, free: 9.816 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.86, allocations: 9.562 kB / 1.754 GB, free: 9.809 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.86, allocations: 8.406 kB / 1.754 GB, free: 9.801 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.86, allocations: 8 kB / 1.754 GB, free: 9.793 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/1.86, allocations: 59.91 kB / 1.754 GB, free: 9.734 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.86, allocations: 7.938 kB / 1.754 GB, free: 9.727 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/1.86, allocations: 27.62 kB / 1.754 GB, free: 9.703 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/1.86, allocations: 15.31 kB / 1.754 GB, free: 9.691 MB / 1.057 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.0001142/1.86, allocations: 144.3 kB / 1.754 GB, free: 9.551 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/1.86, allocations: 19.77 kB / 1.754 GB, free: 9.531 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/1.861, allocations: 162.8 kB / 1.754 GB, free: 9.395 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.861, allocations: 0 / 1.754 GB, free: 9.395 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.861, allocations: 4 kB / 1.754 GB, free: 9.391 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.861, allocations: 3.938 kB / 1.754 GB, free: 9.387 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/1.861, allocations: 218.9 kB / 1.755 GB, free: 9.145 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.861, allocations: 4 kB / 1.755 GB, free: 9.141 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/1.861, allocations: 27.98 kB / 1.755 GB, free: 9.113 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.861, allocations: 0 / 1.755 GB, free: 9.113 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/1.861, allocations: 7.938 kB / 1.755 GB, free: 9.105 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.861, allocations: 4 kB / 1.755 GB, free: 9.102 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.861, allocations: 4 kB / 1.755 GB, free: 9.098 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/1.861, allocations: 224.6 kB / 1.755 GB, free: 8.883 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/1.861, allocations: 119.6 kB / 1.755 GB, free: 8.758 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/1.861, allocations: 3.625 kB / 1.755 GB, free: 8.758 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/1.862, allocations: 27.75 kB / 1.755 GB, free: 8.734 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/1.862, allocations: 11.98 kB / 1.755 GB, free: 8.723 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/1.862, allocations: 8 kB / 1.755 GB, free: 8.715 MB / 1.057 GB Notification: Performance of sorting global known variables: time 7.91e-05/1.862, allocations: 115.9 kB / 1.755 GB, free: 8.613 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.1e-07/1.862, allocations: 0 / 1.755 GB, free: 8.613 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0004979/1.862, allocations: 93.86 kB / 1.755 GB, free: 8.535 MB / 1.057 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.000405/1.863, allocations: 230.1 kB / 1.755 GB, free: 8.305 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002213/1.863, allocations: 118.2 kB / 1.756 GB, free: 8.207 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.863, allocations: 4 kB / 1.756 GB, free: 8.203 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/1.863, allocations: 49.55 kB / 1.756 GB, free: 8.164 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/1.863, allocations: 46.95 kB / 1.756 GB, free: 8.129 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/1.864, allocations: 421.3 kB / 1.756 GB, free: 7.703 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/1.864, allocations: 0.7133 MB / 1.757 GB, free: 6.961 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001911/1.865, allocations: 53.73 kB / 1.757 GB, free: 6.91 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/1.865, allocations: 23.38 kB / 1.757 GB, free: 6.887 MB / 1.057 GB Notification: Performance of SimCode: time 2.21e-07/1.865, allocations: 0 / 1.757 GB, free: 6.887 MB / 1.057 GB Notification: Performance of Templates: time 0.007795/1.872, allocations: 4.178 MB / 1.761 GB, free: 2.75 MB / 1.057 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches