Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.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_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.464/2.464, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001508/0.001508, allocations: 190.3 kB / 0.4902 GB, free: 2.234 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.664/1.664, allocations: 223.2 MB / 0.7992 GB, free: 14.75 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.0009686/0.0009686, allocations: 100.2 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 10.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3452, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.689, allocations: 419.3 MB / 1.639 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.689, allocations: 69.34 kB / 1.639 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.04556/1.735, allocations: 19.11 MB / 1.657 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.986e-06/1.735, allocations: 0 / 1.657 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.735, allocations: 0 / 1.657 GB, free: 11.13 MB / 0.9792 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.0004821/1.735, allocations: 367.5 kB / 1.658 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 7.882e-05/1.735, allocations: 12.56 kB / 1.658 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/1.735, allocations: 11.86 kB / 1.658 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/1.736, allocations: 167.1 kB / 1.658 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.736, allocations: 3.562 kB / 1.658 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/1.736, allocations: 4 kB / 1.658 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/1.736, allocations: 56.41 kB / 1.658 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.736, allocations: 0 / 1.658 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.736, allocations: 0 / 1.658 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.736, allocations: 0 / 1.658 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/1.736, allocations: 23.36 kB / 1.658 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/1.736, allocations: 173.4 kB / 1.658 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 9.593e-05/1.736, allocations: 46.12 kB / 1.658 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008213/1.737, allocations: 0.6013 MB / 1.659 GB, free: 9.469 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/1.737, allocations: 30.56 kB / 1.659 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=5): time 2.935e-06/1.737, allocations: 0 / 1.659 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=7): time 0.0006635/1.738, allocations: 307.9 kB / 1.659 GB, free: 9.102 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/1.738, allocations: 51.41 kB / 1.659 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/1.738, allocations: 92.94 kB / 1.659 GB, free: 8.945 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/1.738, allocations: 25.7 kB / 1.659 GB, free: 8.914 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/1.738, allocations: 92.03 kB / 1.659 GB, free: 8.82 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/1.738, allocations: 19.22 kB / 1.659 GB, free: 8.805 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/1.738, allocations: 6.438 kB / 1.659 GB, free: 8.801 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.738, allocations: 322.8 kB / 1.66 GB, free: 8.48 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/1.738, allocations: 8 kB / 1.66 GB, free: 8.473 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/1.738, allocations: 56.77 kB / 1.66 GB, free: 8.406 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/1.738, allocations: 19.69 kB / 1.66 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.738, allocations: 4 kB / 1.66 GB, free: 8.391 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000136/1.739, allocations: 108 kB / 1.66 GB, free: 8.293 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.739, allocations: 5.719 kB / 1.66 GB, free: 8.289 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.739, allocations: 0 / 1.66 GB, free: 8.289 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.739, allocations: 7.953 kB / 1.66 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/1.739, allocations: 19.98 kB / 1.66 GB, free: 8.262 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.739, allocations: 8 kB / 1.66 GB, free: 8.254 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/1.739, allocations: 4.125 kB / 1.66 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/1.739, allocations: 4 kB / 1.66 GB, free: 8.246 MB / 0.9792 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 0.000103/1.739, allocations: 117.7 kB / 1.66 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/1.739, allocations: 4 kB / 1.66 GB, free: 8.121 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/1.739, allocations: 14.52 kB / 1.66 GB, free: 8.117 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.739, allocations: 3.953 kB / 1.66 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.739, allocations: 0 / 1.66 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.739, allocations: 0 / 1.66 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/1.739, allocations: 173.5 kB / 1.66 GB, free: 7.898 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.739, allocations: 4 kB / 1.66 GB, free: 7.895 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/1.739, allocations: 16 kB / 1.66 GB, free: 7.879 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.739, allocations: 0 / 1.66 GB, free: 7.879 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.739, allocations: 7.688 kB / 1.66 GB, free: 7.875 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.739, allocations: 0 / 1.66 GB, free: 7.875 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/1.739, allocations: 7.938 kB / 1.66 GB, free: 7.867 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/1.74, allocations: 167.1 kB / 1.66 GB, free: 7.699 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/1.74, allocations: 85.14 kB / 1.66 GB, free: 7.598 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/1.74, allocations: 0 / 1.66 GB, free: 7.598 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/1.74, allocations: 11.69 kB / 1.661 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/1.74, allocations: 7.984 kB / 1.661 GB, free: 7.582 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/1.74, allocations: 3.953 kB / 1.661 GB, free: 7.578 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.695e-05/1.74, allocations: 79.28 kB / 1.661 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.1e-07/1.74, allocations: 0 / 1.661 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002407/1.74, allocations: 19.56 kB / 1.661 GB, free: 7.484 MB / 0.9792 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.0002716/1.74, allocations: 151.4 kB / 1.661 GB, free: 7.328 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001098/1.741, allocations: 42.42 kB / 1.661 GB, free: 7.293 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.741, allocations: 0 / 1.661 GB, free: 7.293 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/1.741, allocations: 19.44 kB / 1.661 GB, free: 7.277 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/1.741, allocations: 8.469 kB / 1.661 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/1.741, allocations: 393.8 kB / 1.661 GB, free: 6.867 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/1.742, allocations: 0.6848 MB / 1.662 GB, free: 6.156 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.336e-05/1.742, allocations: 7.781 kB / 1.662 GB, free: 6.148 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/1.742, allocations: 15.38 kB / 1.662 GB, free: 6.133 MB / 0.9792 GB Notification: Performance of SimCode: time 2.2e-07/1.742, allocations: 4 kB / 1.662 GB, free: 6.129 MB / 0.9792 GB Notification: Performance of Templates: time 0.003851/1.746, allocations: 1.167 MB / 1.663 GB, free: 4.969 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches