Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001661/0.001661, allocations: 185 kB / 498.1 MB, free: 5.738 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.816/1.816, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001087/0.001087, allocations: 102.8 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004014, allocations: 16.59 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3676, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.418/1.786, allocations: 418.5 MB / 1.632 GB, free: 10.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.786, allocations: 71.91 kB / 1.632 GB, free: 10.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05043/1.836, allocations: 19.11 MB / 1.65 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.124e-06/1.836, allocations: 0 / 1.65 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.007e-05/1.836, allocations: 4 kB / 1.65 GB, free: 10.55 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005409/1.837, allocations: 366.5 kB / 1.651 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.825e-05/1.837, allocations: 12.03 kB / 1.651 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/1.837, allocations: 7.953 kB / 1.651 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.837, allocations: 163.1 kB / 1.651 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.837, allocations: 2.812 kB / 1.651 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/1.837, allocations: 4 kB / 1.651 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/1.838, allocations: 59.53 kB / 1.651 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.838, allocations: 0 / 1.651 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/1.838, allocations: 3.062 kB / 1.651 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.838, allocations: 4 kB / 1.651 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/1.838, allocations: 15.48 kB / 1.651 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/1.838, allocations: 172.3 kB / 1.651 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/1.838, allocations: 45.19 kB / 1.651 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000862/1.839, allocations: 0.6039 MB / 1.652 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.839, allocations: 37.94 kB / 1.652 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.674e-06/1.839, allocations: 0 / 1.652 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0007188/1.84, allocations: 295.5 kB / 1.652 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/1.84, allocations: 51.41 kB / 1.652 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/1.84, allocations: 89 kB / 1.652 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/1.84, allocations: 32.45 kB / 1.652 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/1.84, allocations: 88.11 kB / 1.652 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/1.84, allocations: 35.42 kB / 1.652 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/1.84, allocations: 3.875 kB / 1.652 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.84, allocations: 314.8 kB / 1.653 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/1.84, allocations: 15.69 kB / 1.653 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/1.84, allocations: 55.77 kB / 1.653 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/1.84, allocations: 23.31 kB / 1.653 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/1.84, allocations: 0 / 1.653 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001397/1.84, allocations: 90.86 kB / 1.653 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.84, allocations: 4 kB / 1.653 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.84, allocations: 4 kB / 1.653 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.84, allocations: 7.891 kB / 1.653 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/1.841, allocations: 20.42 kB / 1.653 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.841, allocations: 12.06 kB / 1.653 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/1.841, allocations: 0 / 1.653 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/1.841, allocations: 10.62 kB / 1.653 GB, free: 7.68 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.996e-05/1.841, allocations: 113 kB / 1.653 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/1.841, allocations: 7.906 kB / 1.653 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/1.841, allocations: 11.33 kB / 1.653 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.841, allocations: 3.953 kB / 1.653 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.841, allocations: 0 / 1.653 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.841, allocations: 288 / 1.653 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/1.841, allocations: 177 kB / 1.653 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.841, allocations: 0 / 1.653 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/1.841, allocations: 16 kB / 1.653 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.841, allocations: 0 / 1.653 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/1.841, allocations: 3.984 kB / 1.653 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.841, allocations: 7.922 kB / 1.653 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.841, allocations: 3.953 kB / 1.653 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/1.842, allocations: 168.5 kB / 1.653 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/1.842, allocations: 89.05 kB / 1.653 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/1.842, allocations: 4 kB / 1.653 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/1.842, allocations: 2.688 kB / 1.653 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/1.842, allocations: 7.984 kB / 1.653 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/1.842, allocations: 3.953 kB / 1.653 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.16e-05/1.842, allocations: 82.72 kB / 1.653 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.2e-07/1.842, allocations: 3.938 kB / 1.653 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002563/1.842, allocations: 15.31 kB / 1.653 GB, free: 6.914 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.00027/1.842, allocations: 158.7 kB / 1.654 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001261/1.843, allocations: 38.58 kB / 1.654 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.843, allocations: 0 / 1.654 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.975e-05/1.843, allocations: 22.78 kB / 1.654 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/1.843, allocations: 4.25 kB / 1.654 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/1.843, allocations: 390.1 kB / 1.654 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/1.844, allocations: 0.6887 MB / 1.655 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.365e-05/1.844, allocations: 7.781 kB / 1.655 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/1.844, allocations: 11.44 kB / 1.655 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of SimCode: time 3e-07/1.844, allocations: 0 / 1.655 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of Templates: time 0.003984/1.848, allocations: 1.181 MB / 1.656 GB, free: 4.391 MB / 0.9636 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches