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.04/2.04, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.0009918/0.0009918, allocations: 192.6 kB / 487.4 MB, free: 5.035 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.308/1.308, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008155/0.0008155, allocations: 101.3 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.587e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2291, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.266, allocations: 449.4 MB / 1.645 GB, free: 5.617 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.266, allocations: 82.94 kB / 1.645 GB, free: 5.57 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 0.2262/1.492, allocations: 86.46 MB / 1.729 GB, free: 7.441 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.182e-06/1.492, allocations: 0 / 1.729 GB, free: 7.441 MB / 1.135 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.492, allocations: 4 kB / 1.729 GB, free: 7.438 MB / 1.135 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.00253/1.495, allocations: 0.7379 MB / 1.73 GB, free: 6.652 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.495, allocations: 8.031 kB / 1.73 GB, free: 6.645 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/1.495, allocations: 35.75 kB / 1.73 GB, free: 6.609 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/1.495, allocations: 206.9 kB / 1.73 GB, free: 6.367 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.495, allocations: 4 kB / 1.73 GB, free: 6.363 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/1.495, allocations: 12 kB / 1.73 GB, free: 6.352 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005229/1.496, allocations: 408.2 kB / 1.731 GB, free: 5.953 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/1.496, allocations: 219.8 kB / 1.731 GB, free: 5.719 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.496, allocations: 4 kB / 1.731 GB, free: 5.715 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/1.496, allocations: 0 / 1.731 GB, free: 5.715 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/1.496, allocations: 4 kB / 1.731 GB, free: 5.711 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/1.498, allocations: 0.9843 MB / 1.732 GB, free: 4.648 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/1.498, allocations: 139.9 kB / 1.732 GB, free: 4.504 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/1.498, allocations: 48.86 kB / 1.732 GB, free: 4.453 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/1.499, allocations: 1.958 MB / 1.734 GB, free: 2.137 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/1.5, allocations: 42.52 kB / 1.734 GB, free: 2.086 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/1.5, allocations: 0 / 1.734 GB, free: 2.086 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0005351/1.5, allocations: 121.5 kB / 1.734 GB, free: 1.961 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/1.5, allocations: 55.41 kB / 1.734 GB, free: 1.895 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/1.5, allocations: 144.3 kB / 1.734 GB, free: 1.746 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/1.5, allocations: 25.7 kB / 1.734 GB, free: 1.715 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/1.5, allocations: 143.8 kB / 1.734 GB, free: 1.57 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/1.5, allocations: 47.3 kB / 1.735 GB, free: 1.523 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/1.5, allocations: 0 / 1.735 GB, free: 1.523 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.501, allocations: 322.8 kB / 1.735 GB, free: 1.199 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.249e-05/1.501, allocations: 28.5 kB / 1.735 GB, free: 1.172 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/1.501, allocations: 139.2 kB / 1.735 GB, free: 0.9883 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/1.501, allocations: 73.86 kB / 1.735 GB, free: 0.918 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.501, allocations: 8 kB / 1.735 GB, free: 0.9102 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004816/1.502, allocations: 205.1 kB / 1.735 GB, free: 0.7031 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.502, allocations: 11.94 kB / 1.735 GB, free: 0.6914 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/1.502, allocations: 4.469 kB / 1.735 GB, free: 0.6875 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.502, allocations: 11.95 kB / 1.735 GB, free: 0.6758 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/1.502, allocations: 59.91 kB / 1.735 GB, free: 0.6172 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.502, allocations: 4 kB / 1.735 GB, free: 0.6133 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/1.502, allocations: 23.69 kB / 1.735 GB, free: 0.5898 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/1.502, allocations: 15.98 kB / 1.735 GB, free: 0.5742 MB / 1.135 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 () * 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 8.467e-05/1.502, allocations: 112.9 kB / 1.736 GB, free: 468 kB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/1.502, allocations: 15.91 kB / 1.736 GB, free: 452 kB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/1.503, allocations: 172.7 kB / 1.736 GB, free: 280 kB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.503, allocations: 7.953 kB / 1.736 GB, free: 272 kB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.503, allocations: 0 / 1.736 GB, free: 272 kB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/1.503, allocations: 0 / 1.736 GB, free: 272 kB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/1.503, allocations: 186.1 kB / 1.736 GB, free: 48 kB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.503, allocations: 0 / 1.736 GB, free: 48 kB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/1.503, allocations: 35.91 kB / 1.736 GB, free: 12 kB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.503, allocations: 0 / 1.736 GB, free: 12 kB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.503, allocations: 0 / 1.736 GB, free: 12 kB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.503, allocations: 7.938 kB / 1.736 GB, free: 4 kB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-05/1.503, allocations: 4.078 kB / 1.736 GB, free: 16 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/1.503, allocations: 235.1 kB / 1.736 GB, free: 15.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/1.504, allocations: 128.8 kB / 1.736 GB, free: 15.61 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/1.504, allocations: 0 / 1.736 GB, free: 15.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/1.504, allocations: 19.97 kB / 1.736 GB, free: 15.59 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/1.504, allocations: 15.98 kB / 1.736 GB, free: 15.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/1.504, allocations: 11.98 kB / 1.736 GB, free: 15.56 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.099e-05/1.504, allocations: 104.7 kB / 1.736 GB, free: 15.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/1.504, allocations: 0 / 1.736 GB, free: 15.46 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000451/1.504, allocations: 79.89 kB / 1.736 GB, free: 15.38 MB / 1.151 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 () * 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.00037/1.505, allocations: 227.7 kB / 1.737 GB, free: 15.15 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000204/1.505, allocations: 100.9 kB / 1.737 GB, free: 15.05 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.505, allocations: 4 kB / 1.737 GB, free: 15.05 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.12e-05/1.505, allocations: 43.88 kB / 1.737 GB, free: 15 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/1.505, allocations: 27.97 kB / 1.737 GB, free: 14.98 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/1.506, allocations: 171.7 kB / 1.737 GB, free: 14.79 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.506, allocations: 0.7206 MB / 1.738 GB, free: 14.04 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001974/1.506, allocations: 49.64 kB / 1.738 GB, free: 13.98 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/1.506, allocations: 23.44 kB / 1.738 GB, free: 13.96 MB / 1.151 GB Notification: Performance of SimCode: time 3.2e-07/1.506, allocations: 0 / 1.738 GB, free: 13.96 MB / 1.151 GB Notification: Performance of Templates: time 0.006564/1.513, allocations: 3.412 MB / 1.741 GB, free: 10.58 MB / 1.151 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