Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,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.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,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.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.273/2.273, allocations: 390.5 MB / 398 MB, free: 10.9 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.001125/0.001125, allocations: 172.9 kB / 491.2 MB, free: 1.566 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.807/1.807, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001007/0.001007, allocations: 103.2 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.599e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3595, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.458/1.817, allocations: 356.1 MB / 1.56 GB, free: 9.34 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/1.818, allocations: 79.77 kB / 1.56 GB, free: 9.297 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.04053/1.858, allocations: 16.63 MB / 1.576 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.843e-06/1.858, allocations: 0 / 1.576 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.95e-05/1.858, allocations: 4 kB / 1.576 GB, free: 11.52 MB / 0.9948 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.0009045/1.859, allocations: 478.3 kB / 1.577 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.859, allocations: 11.97 kB / 1.577 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/1.861, allocations: 179.5 kB / 1.577 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/1.862, allocations: 207.9 kB / 1.577 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/1.862, allocations: 8 kB / 1.577 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/1.862, allocations: 11.98 kB / 1.577 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004164/1.862, allocations: 196.6 kB / 1.577 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/1.862, allocations: 235.6 kB / 1.578 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/1.862, allocations: 0 / 1.578 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/1.862, allocations: 3.938 kB / 1.578 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/1.863, allocations: 8 kB / 1.578 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/1.864, allocations: 1.351 MB / 1.579 GB, free: 8.832 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/1.864, allocations: 147.7 kB / 1.579 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/1.865, allocations: 68.73 kB / 1.579 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/1.865, allocations: 0 / 1.579 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/1.865, allocations: 38.5 kB / 1.579 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/1.865, allocations: 0 / 1.579 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18): time 0.0003219/1.865, allocations: 142.2 kB / 1.579 GB, free: 8.504 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.865, allocations: 55.41 kB / 1.579 GB, free: 8.438 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/1.865, allocations: 132.9 kB / 1.58 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/1.865, allocations: 25.7 kB / 1.58 GB, free: 8.281 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/1.865, allocations: 122.7 kB / 1.58 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/1.865, allocations: 61.97 kB / 1.58 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/1.865, allocations: 0 / 1.58 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.866, allocations: 325.1 kB / 1.58 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/1.866, allocations: 40.91 kB / 1.58 GB, free: 7.758 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/1.866, allocations: 125.1 kB / 1.58 GB, free: 7.625 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/1.866, allocations: 66.03 kB / 1.58 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.866, allocations: 0 / 1.58 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002958/1.866, allocations: 198 kB / 1.58 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.866, allocations: 4.312 kB / 1.58 GB, free: 7.402 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.866, allocations: 8 kB / 1.58 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.866, allocations: 4 kB / 1.58 GB, free: 7.391 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/1.867, allocations: 67.08 kB / 1.581 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.867, allocations: 4 kB / 1.581 GB, free: 7.324 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/1.867, allocations: 31.72 kB / 1.581 GB, free: 7.293 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/1.867, allocations: 15.92 kB / 1.581 GB, free: 7.277 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001007/1.867, allocations: 112.7 kB / 1.581 GB, free: 7.164 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/1.867, allocations: 15.81 kB / 1.581 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/1.867, allocations: 181.6 kB / 1.581 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/1.867, allocations: 4 kB / 1.581 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.867, allocations: 4 kB / 1.581 GB, free: 7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.867, allocations: 0 / 1.581 GB, free: 7 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/1.868, allocations: 208.5 kB / 1.581 GB, free: 6.781 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.868, allocations: 0 / 1.581 GB, free: 6.781 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/1.868, allocations: 55.89 kB / 1.581 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.868, allocations: 0 / 1.581 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/1.868, allocations: 0 / 1.581 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.868, allocations: 4 kB / 1.581 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.868, allocations: 4 kB / 1.581 GB, free: 6.719 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/1.868, allocations: 247.8 kB / 1.581 GB, free: 6.492 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.869, allocations: 112.3 kB / 1.582 GB, free: 6.367 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/1.869, allocations: 3.984 kB / 1.582 GB, free: 6.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/1.869, allocations: 15.98 kB / 1.582 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/1.869, allocations: 15.73 kB / 1.582 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/1.869, allocations: 4 kB / 1.582 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.981e-05/1.869, allocations: 104 kB / 1.582 GB, free: 6.238 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.869, allocations: 3.938 kB / 1.582 GB, free: 6.234 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003728/1.869, allocations: 52.12 kB / 1.582 GB, free: 6.184 MB / 0.9948 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0002617/1.87, allocations: 150.6 kB / 1.582 GB, free: 6.027 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002683/1.87, allocations: 143.1 kB / 1.582 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.87, allocations: 0 / 1.582 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/1.87, allocations: 64.31 kB / 1.582 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/1.87, allocations: 43.64 kB / 1.582 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/1.871, allocations: 198.5 kB / 1.582 GB, free: 5.641 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/1.871, allocations: 0.7284 MB / 1.583 GB, free: 4.891 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003697/1.872, allocations: 45.84 kB / 1.583 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/1.872, allocations: 23.42 kB / 1.583 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of SimCode: time 2.4e-07/1.872, allocations: 0 / 1.583 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of Templates: time 0.006277/1.878, allocations: 2.715 MB / 1.586 GB, free: 2.168 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches