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.424/2.424, 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.001141/0.001141, allocations: 184.6 kB / 491.2 MB, free: 1.551 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.724/1.724, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.00105/0.00105, allocations: 103.1 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.819e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3376, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.395/1.733, allocations: 418.6 MB / 1.621 GB, free: 13.08 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.733, allocations: 77.27 kB / 1.621 GB, free: 13.04 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04409/1.777, allocations: 18.96 MB / 1.64 GB, free: 13.82 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.633e-06/1.777, allocations: 0 / 1.64 GB, free: 13.82 MB / 1.057 GB Notification: Performance of Transformations before backend: time 6.002e-06/1.777, allocations: 0 / 1.64 GB, free: 13.82 MB / 1.057 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.0004375/1.778, allocations: 358.1 kB / 1.64 GB, free: 13.43 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.778, allocations: 8.031 kB / 1.64 GB, free: 13.43 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/1.778, allocations: 12.48 kB / 1.64 GB, free: 13.41 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.778, allocations: 159.1 kB / 1.64 GB, free: 13.22 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/1.778, allocations: 0 / 1.64 GB, free: 13.22 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/1.778, allocations: 4 kB / 1.64 GB, free: 13.21 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.752e-05/1.778, allocations: 26.92 kB / 1.64 GB, free: 13.19 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/1.778, allocations: 49.23 kB / 1.64 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/1.778, allocations: 0 / 1.64 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.778, allocations: 0 / 1.64 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.778, allocations: 0 / 1.64 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/1.779, allocations: 141.6 kB / 1.64 GB, free: 12.97 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 8.374e-05/1.779, allocations: 45.31 kB / 1.64 GB, free: 12.92 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/1.779, allocations: 16.23 kB / 1.64 GB, free: 12.91 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008179/1.78, allocations: 0.616 MB / 1.641 GB, free: 12.19 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/1.78, allocations: 37.92 kB / 1.641 GB, free: 12.15 MB / 1.057 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/1.78, allocations: 3.938 kB / 1.641 GB, free: 12.14 MB / 1.057 GB Notification: Performance of matching and sorting (n=7): time 0.0006648/1.78, allocations: 292.1 kB / 1.641 GB, free: 11.82 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/1.78, allocations: 51.41 kB / 1.641 GB, free: 11.76 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/1.78, allocations: 89 kB / 1.641 GB, free: 11.66 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.781, allocations: 25.7 kB / 1.641 GB, free: 11.63 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/1.781, allocations: 91.36 kB / 1.642 GB, free: 11.54 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/1.781, allocations: 27.58 kB / 1.642 GB, free: 11.52 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/1.781, allocations: 0 / 1.642 GB, free: 11.52 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.781, allocations: 314.8 kB / 1.642 GB, free: 11.2 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/1.781, allocations: 11.12 kB / 1.642 GB, free: 11.2 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/1.781, allocations: 52.02 kB / 1.642 GB, free: 11.13 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/1.781, allocations: 19.23 kB / 1.642 GB, free: 11.12 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.781, allocations: 0 / 1.642 GB, free: 11.12 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001391/1.781, allocations: 84.84 kB / 1.642 GB, free: 11.04 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.781, allocations: 4 kB / 1.642 GB, free: 11.03 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.781, allocations: 0 / 1.642 GB, free: 11.03 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/1.781, allocations: 7.984 kB / 1.642 GB, free: 11.02 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/1.781, allocations: 23.89 kB / 1.642 GB, free: 11 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.781, allocations: 4 kB / 1.642 GB, free: 11 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/1.781, allocations: 0 / 1.642 GB, free: 11 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.781, allocations: 4 kB / 1.642 GB, free: 10.99 MB / 1.057 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 8.742e-05/1.781, allocations: 108.3 kB / 1.642 GB, free: 10.88 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/1.781, allocations: 4 kB / 1.642 GB, free: 10.88 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/1.781, allocations: 11.7 kB / 1.642 GB, free: 10.88 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.781, allocations: 0 / 1.642 GB, free: 10.88 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.782, allocations: 7.953 kB / 1.642 GB, free: 10.87 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.782, allocations: 0 / 1.642 GB, free: 10.87 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/1.782, allocations: 145.9 kB / 1.642 GB, free: 10.69 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.782, allocations: 3.938 kB / 1.642 GB, free: 10.69 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/1.782, allocations: 16 kB / 1.642 GB, free: 10.67 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/1.782, allocations: 0 / 1.642 GB, free: 10.67 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/1.782, allocations: 7.938 kB / 1.642 GB, free: 10.66 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/1.782, allocations: 0 / 1.642 GB, free: 10.66 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.782, allocations: 0 / 1.642 GB, free: 10.66 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/1.782, allocations: 171.2 kB / 1.643 GB, free: 10.49 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/1.782, allocations: 84.05 kB / 1.643 GB, free: 10.39 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/1.782, allocations: 0 / 1.643 GB, free: 10.39 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/1.782, allocations: 4.031 kB / 1.643 GB, free: 10.39 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/1.782, allocations: 4 kB / 1.643 GB, free: 10.38 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/1.782, allocations: 4 kB / 1.643 GB, free: 10.38 MB / 1.057 GB Notification: Performance of sorting global known variables: time 5.366e-05/1.782, allocations: 86.22 kB / 1.643 GB, free: 10.3 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.51e-07/1.782, allocations: 0 / 1.643 GB, free: 10.3 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000255/1.783, allocations: 16 kB / 1.643 GB, free: 10.28 MB / 1.057 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.0002868/1.783, allocations: 148.3 kB / 1.643 GB, free: 10.13 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0001243/1.783, allocations: 47.05 kB / 1.643 GB, free: 10.09 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.783, allocations: 0 / 1.643 GB, free: 10.09 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/1.783, allocations: 8 kB / 1.643 GB, free: 10.08 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/1.783, allocations: 8.266 kB / 1.643 GB, free: 10.07 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/1.784, allocations: 283.6 kB / 1.643 GB, free: 9.781 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/1.784, allocations: 0.6846 MB / 1.644 GB, free: 9.07 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 8.207e-05/1.784, allocations: 11.78 kB / 1.644 GB, free: 9.059 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/1.784, allocations: 11.44 kB / 1.644 GB, free: 9.047 MB / 1.057 GB Notification: Performance of SimCode: time 5.82e-07/1.784, allocations: 0 / 1.644 GB, free: 9.047 MB / 1.057 GB Notification: Performance of Templates: time 0.00331/1.788, allocations: 0.8593 MB / 1.645 GB, free: 8.195 MB / 1.057 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