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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.528/2.528, allocations: 390.5 MB / 398 MB, free: 10.91 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.001322/0.001322, allocations: 184.9 kB / 491.2 MB, free: 1.559 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.602/1.602, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001045/0.001045, allocations: 97.45 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.096e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.329, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.481/1.81, allocations: 450.2 MB / 1.652 GB, free: 13.22 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/1.811, allocations: 86.31 kB / 1.652 GB, free: 13.18 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.2466/2.057, allocations: 86.47 MB / 1.736 GB, free: 15 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.276e-06/2.058, allocations: 0 / 1.736 GB, free: 15 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.98e-05/2.058, allocations: 4 kB / 1.736 GB, free: 15 MB / 1.151 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.004334/2.062, allocations: 0.7368 MB / 1.737 GB, free: 14.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/2.062, allocations: 8.031 kB / 1.737 GB, free: 14.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/2.062, allocations: 31.75 kB / 1.737 GB, free: 14.17 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/2.063, allocations: 214.9 kB / 1.737 GB, free: 13.92 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/2.063, allocations: 4 kB / 1.737 GB, free: 13.92 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/2.063, allocations: 8 kB / 1.737 GB, free: 13.91 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006176/2.063, allocations: 416.2 kB / 1.738 GB, free: 13.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/2.064, allocations: 216.5 kB / 1.738 GB, free: 13.27 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/2.064, allocations: 0 / 1.738 GB, free: 13.27 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/2.064, allocations: 4 kB / 1.738 GB, free: 13.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/2.064, allocations: 11.89 kB / 1.738 GB, free: 13.26 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/2.065, allocations: 0.9803 MB / 1.739 GB, free: 12.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/2.066, allocations: 139.9 kB / 1.739 GB, free: 12.05 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/2.066, allocations: 44.86 kB / 1.739 GB, free: 12.01 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/2.068, allocations: 1.962 MB / 1.741 GB, free: 9.688 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/2.068, allocations: 38.56 kB / 1.741 GB, free: 9.641 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/2.068, allocations: 3.938 kB / 1.741 GB, free: 9.637 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0005944/2.068, allocations: 121.5 kB / 1.741 GB, free: 9.512 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/2.068, allocations: 51.41 kB / 1.741 GB, free: 9.449 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/2.068, allocations: 139.1 kB / 1.741 GB, free: 9.305 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/2.068, allocations: 29.7 kB / 1.742 GB, free: 9.27 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/2.069, allocations: 151.7 kB / 1.742 GB, free: 9.113 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/2.069, allocations: 43.3 kB / 1.742 GB, free: 9.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/2.069, allocations: 4 kB / 1.742 GB, free: 9.066 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001437/2.069, allocations: 326.8 kB / 1.742 GB, free: 8.738 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/2.069, allocations: 24 kB / 1.742 GB, free: 8.715 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/2.069, allocations: 134.2 kB / 1.742 GB, free: 8.535 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/2.069, allocations: 78.41 kB / 1.742 GB, free: 8.461 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/2.069, allocations: 0 / 1.742 GB, free: 8.461 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005172/2.07, allocations: 213.4 kB / 1.742 GB, free: 8.246 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/2.07, allocations: 7.953 kB / 1.742 GB, free: 8.238 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/2.07, allocations: 4 kB / 1.742 GB, free: 8.234 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/2.07, allocations: 8 kB / 1.742 GB, free: 8.227 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/2.07, allocations: 59.91 kB / 1.743 GB, free: 8.168 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/2.07, allocations: 7.938 kB / 1.743 GB, free: 8.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/2.07, allocations: 23.69 kB / 1.743 GB, free: 8.137 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/2.07, allocations: 12 kB / 1.743 GB, free: 8.125 MB / 1.151 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 0.0001171/2.07, allocations: 117 kB / 1.743 GB, free: 8.004 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/2.071, allocations: 11.91 kB / 1.743 GB, free: 7.992 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/2.071, allocations: 170 kB / 1.743 GB, free: 7.824 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/2.071, allocations: 3.984 kB / 1.743 GB, free: 7.82 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.071, allocations: 0 / 1.743 GB, free: 7.82 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/2.071, allocations: 4 kB / 1.743 GB, free: 7.816 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/2.071, allocations: 182.1 kB / 1.743 GB, free: 7.602 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/2.071, allocations: 0 / 1.743 GB, free: 7.602 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/2.072, allocations: 35.91 kB / 1.743 GB, free: 7.566 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/2.072, allocations: 8 kB / 1.743 GB, free: 7.559 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/2.072, allocations: 0 / 1.743 GB, free: 7.559 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/2.072, allocations: 0 / 1.743 GB, free: 7.559 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/2.072, allocations: 3.953 kB / 1.743 GB, free: 7.555 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/2.072, allocations: 229.8 kB / 1.743 GB, free: 7.316 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/2.072, allocations: 124.9 kB / 1.743 GB, free: 7.176 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/2.072, allocations: 4 kB / 1.743 GB, free: 7.172 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/2.072, allocations: 23.92 kB / 1.743 GB, free: 7.148 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/2.072, allocations: 7.984 kB / 1.743 GB, free: 7.141 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/2.072, allocations: 19.94 kB / 1.743 GB, free: 7.121 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.667e-05/2.073, allocations: 105.7 kB / 1.744 GB, free: 7.02 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/2.073, allocations: 3.938 kB / 1.744 GB, free: 7.016 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004894/2.073, allocations: 79.84 kB / 1.744 GB, free: 6.938 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.0004642/2.074, allocations: 238.9 kB / 1.744 GB, free: 6.695 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002275/2.074, allocations: 100 kB / 1.744 GB, free: 6.598 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/2.074, allocations: 3.938 kB / 1.744 GB, free: 6.594 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/2.074, allocations: 39.94 kB / 1.744 GB, free: 6.555 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/2.074, allocations: 31.2 kB / 1.744 GB, free: 6.527 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/2.075, allocations: 166 kB / 1.744 GB, free: 6.344 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/2.075, allocations: 0.7205 MB / 1.745 GB, free: 5.594 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001812/2.075, allocations: 49.64 kB / 1.745 GB, free: 5.547 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/2.075, allocations: 23.44 kB / 1.745 GB, free: 5.523 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/2.075, allocations: 0 / 1.745 GB, free: 5.523 MB / 1.151 GB Notification: Performance of Templates: time 0.007254/2.083, allocations: 3.411 MB / 1.748 GB, free: 2.137 MB / 1.151 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","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches