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.024/2.024, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001263/0.001263, allocations: 184.9 kB / 487.4 MB, free: 5.039 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.41/1.41, allocations: 221.5 MB / 0.7824 GB, free: 1 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.001055/0.001055, allocations: 91.95 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.542e-05/1.543e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2217, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9437/1.165, allocations: 417.8 MB / 1.614 GB, free: 5.559 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/1.166, allocations: 63.53 kB / 1.614 GB, free: 5.527 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.03762/1.203, allocations: 18.97 MB / 1.632 GB, free: 6.305 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.443e-06/1.203, allocations: 0 / 1.632 GB, free: 6.305 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.203, allocations: 4 kB / 1.632 GB, free: 6.301 MB / 1.042 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.0003026/1.204, allocations: 358.9 kB / 1.633 GB, free: 5.914 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/1.204, allocations: 8.031 kB / 1.633 GB, free: 5.906 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/1.204, allocations: 12.52 kB / 1.633 GB, free: 5.895 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.175e-05/1.204, allocations: 163 kB / 1.633 GB, free: 5.695 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/1.204, allocations: 3.984 kB / 1.633 GB, free: 5.691 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/1.204, allocations: 8 kB / 1.633 GB, free: 5.684 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.248e-05/1.204, allocations: 11.98 kB / 1.633 GB, free: 5.672 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.215e-05/1.204, allocations: 45.38 kB / 1.633 GB, free: 5.625 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/1.204, allocations: 0 / 1.633 GB, free: 5.625 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/1.204, allocations: 0 / 1.633 GB, free: 5.625 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/1.204, allocations: 4 kB / 1.633 GB, free: 5.621 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/1.204, allocations: 142.9 kB / 1.633 GB, free: 5.449 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.009e-05/1.204, allocations: 45.52 kB / 1.633 GB, free: 5.402 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/1.204, allocations: 20.78 kB / 1.633 GB, free: 5.383 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/1.205, allocations: 0.6173 MB / 1.634 GB, free: 4.668 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/1.205, allocations: 30.56 kB / 1.634 GB, free: 4.629 MB / 1.042 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/1.205, allocations: 0 / 1.634 GB, free: 4.629 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0004201/1.205, allocations: 279.8 kB / 1.634 GB, free: 4.316 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/1.205, allocations: 51.41 kB / 1.634 GB, free: 4.254 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.181e-05/1.206, allocations: 95.67 kB / 1.634 GB, free: 4.156 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/1.206, allocations: 25.7 kB / 1.634 GB, free: 4.125 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/1.206, allocations: 84.05 kB / 1.634 GB, free: 4.039 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/1.206, allocations: 30.92 kB / 1.634 GB, free: 4.012 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.206, allocations: 0 / 1.634 GB, free: 4.012 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/1.206, allocations: 322.3 kB / 1.635 GB, free: 3.691 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/1.206, allocations: 15.31 kB / 1.635 GB, free: 3.68 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/1.206, allocations: 51.7 kB / 1.635 GB, free: 3.617 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/1.206, allocations: 11.69 kB / 1.635 GB, free: 3.609 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.206, allocations: 4 kB / 1.635 GB, free: 3.605 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001058/1.206, allocations: 80.17 kB / 1.635 GB, free: 3.527 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.206, allocations: 8 kB / 1.635 GB, free: 3.52 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/1.206, allocations: 0 / 1.635 GB, free: 3.52 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.206, allocations: 4 kB / 1.635 GB, free: 3.516 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/1.206, allocations: 19.98 kB / 1.635 GB, free: 3.496 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.206, allocations: 7.891 kB / 1.635 GB, free: 3.488 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/1.206, allocations: 4 kB / 1.635 GB, free: 3.484 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/1.206, allocations: 4 kB / 1.635 GB, free: 3.48 MB / 1.042 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 () * 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 5.517e-05/1.206, allocations: 112.7 kB / 1.635 GB, free: 3.367 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/1.206, allocations: 4 kB / 1.635 GB, free: 3.363 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/1.206, allocations: 4.406 kB / 1.635 GB, free: 3.363 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/1.206, allocations: 256 / 1.635 GB, free: 3.363 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.206, allocations: 288 / 1.635 GB, free: 3.363 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.206, allocations: 11.94 kB / 1.635 GB, free: 3.352 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/1.206, allocations: 149.9 kB / 1.635 GB, free: 3.172 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.206, allocations: 0 / 1.635 GB, free: 3.172 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.307e-05/1.207, allocations: 23.78 kB / 1.635 GB, free: 3.152 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.207, allocations: 4 kB / 1.635 GB, free: 3.148 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/1.207, allocations: 4 kB / 1.635 GB, free: 3.145 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.207, allocations: 0 / 1.635 GB, free: 3.145 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.207, allocations: 0 / 1.635 GB, free: 3.145 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/1.207, allocations: 166.8 kB / 1.635 GB, free: 2.973 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/1.207, allocations: 81.14 kB / 1.635 GB, free: 2.875 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/1.207, allocations: 0 / 1.635 GB, free: 2.875 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/1.207, allocations: 4 kB / 1.635 GB, free: 2.871 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/1.207, allocations: 7.984 kB / 1.636 GB, free: 2.863 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/1.207, allocations: 7.688 kB / 1.636 GB, free: 2.859 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.796e-05/1.207, allocations: 79.28 kB / 1.636 GB, free: 2.781 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.207, allocations: 3.938 kB / 1.636 GB, free: 2.777 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002236/1.207, allocations: 12 kB / 1.636 GB, free: 2.766 MB / 1.042 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 () * 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.0001764/1.207, allocations: 151.4 kB / 1.636 GB, free: 2.609 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.209e-05/1.207, allocations: 35.19 kB / 1.636 GB, free: 2.582 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.207, allocations: 0 / 1.636 GB, free: 2.582 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/1.207, allocations: 16.09 kB / 1.636 GB, free: 2.566 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/1.208, allocations: 17.28 kB / 1.636 GB, free: 2.551 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/1.208, allocations: 267.8 kB / 1.636 GB, free: 2.273 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/1.208, allocations: 0.6885 MB / 1.637 GB, free: 1.559 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.168e-05/1.208, allocations: 19.75 kB / 1.637 GB, free: 1.539 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/1.208, allocations: 11.44 kB / 1.637 GB, free: 1.527 MB / 1.042 GB Notification: Performance of SimCode: time 2.3e-07/1.208, allocations: 0 / 1.637 GB, free: 1.527 MB / 1.042 GB Notification: Performance of Templates: time 0.002655/1.211, allocations: 0.8604 MB / 1.638 GB, free: 0.6797 MB / 1.042 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