Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 179.4 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008671/0.0008672, allocations: 84.67 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 8.781 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2029, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.3773, allocations: 139.6 MB / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.3776, allocations: 95.94 kB / 1.037 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03595/0.4136, allocations: 14.43 MB / 1.051 GB, free: 5.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4136, allocations: 0 / 1.051 GB, free: 5.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.295e-05/0.4137, allocations: 12 kB / 1.051 GB, free: 5.465 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001362/0.415, allocations: 0.9102 MB / 1.051 GB, free: 4.492 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4151, allocations: 11.97 kB / 1.052 GB, free: 4.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.4152, allocations: 94.91 kB / 1.052 GB, free: 4.387 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.4159, allocations: 440.3 kB / 1.052 GB, free: 3.918 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.416, allocations: 71.02 kB / 1.052 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.4161, allocations: 60 kB / 1.052 GB, free: 3.785 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008778/0.417, allocations: 0.6012 MB / 1.053 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.417, allocations: 4 kB / 1.053 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.4171, allocations: 31.94 kB / 1.053 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4171, allocations: 16 kB / 1.053 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.4177, allocations: 383.5 kB / 1.053 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.4201, allocations: 2.546 MB / 1.056 GB, free: 36 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4431/0.8632, allocations: 286.7 kB / 1.056 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.8633, allocations: 3.844 kB / 1.056 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004318/0.8638, allocations: 209.3 kB / 1.056 GB, free: 145.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.978e-06/0.8638, allocations: 0.5938 kB / 1.056 GB, free: 145.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001009/0.8648, allocations: 455.9 kB / 1.057 GB, free: 145.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.8649, allocations: 93 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/0.8656, allocations: 0.5813 MB / 1.057 GB, free: 145 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.8657, allocations: 47.58 kB / 1.057 GB, free: 145 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.866, allocations: 365.8 kB / 1.058 GB, free: 144.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.866, allocations: 96.28 kB / 1.058 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.8661, allocations: 12.66 kB / 1.058 GB, free: 144.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.8662, allocations: 380.5 kB / 1.058 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.8664, allocations: 136.3 kB / 1.058 GB, free: 144.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.8668, allocations: 345.5 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.867, allocations: 149.3 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.867, allocations: 2.938 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007799/0.8678, allocations: 0.5255 MB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.8679, allocations: 11.88 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.8679, allocations: 5.75 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.8679, allocations: 11.31 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.8682, allocations: 82.69 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.8682, allocations: 11.84 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.8684, allocations: 44.17 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.8685, allocations: 29.28 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,timeDel.y,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0003384/0.8689, allocations: 269.2 kB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.8689, allocations: 67.7 kB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006618/0.8696, allocations: 408.5 kB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.8696, allocations: 6.031 kB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8696, allocations: 6.547 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.8696, allocations: 3.422 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.8713, allocations: 1.047 MB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.8714, allocations: 3.234 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.8715, allocations: 34.94 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.8715, allocations: 8 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.8715, allocations: 8.969 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.8716, allocations: 4.938 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8716, allocations: 0 / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.8722, allocations: 474.1 kB / 1.062 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.8724, allocations: 143.8 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.8725, allocations: 20.83 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.8727, allocations: 17.36 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.8729, allocations: 46.7 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.8729, allocations: 16.94 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006327/0.8735, allocations: 426.5 kB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.8735, allocations: 2.312 kB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006939/0.8742, allocations: 126.7 kB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc,timeDel.y) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001264/0.8755, allocations: 477.5 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007852/0.8763, allocations: 392 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8763, allocations: 0 / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.8766, allocations: 175 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.8771, allocations: 86.41 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.8789, allocations: 1.29 MB / 1.065 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.8795, allocations: 0.9535 MB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003198/0.8798, allocations: 77.34 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.88, allocations: 46.55 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/0.88, allocations: 0.9062 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01699/0.897, allocations: 5.531 MB / 1.071 GB, free: 141.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches