Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.618/4.618, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002689/0.002689, allocations: 360.4 kB / 0.6446 GB, free: 21.63 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.336/4.336, allocations: 410.7 MB / 1.113 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001853/0.001853, allocations: 178.6 kB / 1.226 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.000489, allocations: 13.03 kB / 1.349 GB, free: 320.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2111/0.4302, allocations: 149.9 MB / 1.608 GB, free: 70.69 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.4306, allocations: 104.5 kB / 1.608 GB, free: 70.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.1197/0.5503, allocations: 33.34 MB / 1.64 GB, free: 37.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5504, allocations: 0 / 1.64 GB, free: 37.24 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001445/0.5505, allocations: 36 kB / 1.64 GB, free: 37.21 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003799/0.5543, allocations: 1.821 MB / 1.642 GB, free: 35.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5544, allocations: 8.75 kB / 1.642 GB, free: 35.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004276/0.5548, allocations: 209.6 kB / 1.642 GB, free: 35.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.5573, allocations: 1.049 MB / 1.643 GB, free: 33.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.5575, allocations: 132.3 kB / 1.643 GB, free: 33.85 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.5577, allocations: 135.9 kB / 1.644 GB, free: 33.71 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.5607, allocations: 1.345 MB / 1.645 GB, free: 32.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.5607, allocations: 0 / 1.645 GB, free: 32.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.5609, allocations: 52 kB / 1.645 GB, free: 32.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.5609, allocations: 31.94 kB / 1.645 GB, free: 32.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.5632, allocations: 0.9093 MB / 1.646 GB, free: 31.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007432/0.5707, allocations: 5.551 MB / 1.651 GB, free: 25.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.5725, allocations: 0.7097 MB / 1.652 GB, free: 24.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/0.5734, allocations: 363.7 kB / 1.652 GB, free: 24.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.5735, allocations: 9 kB / 1.652 GB, free: 24.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.5747, allocations: 0.4981 MB / 1.653 GB, free: 23.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=93): time 4.569e-06/0.5747, allocations: 8 kB / 1.653 GB, free: 23.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=93): time 0.003089/0.5778, allocations: 1.127 MB / 1.654 GB, free: 22.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.5779, allocations: 119.8 kB / 1.654 GB, free: 22.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/0.581, allocations: 1.632 MB / 1.656 GB, free: 21.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002654/0.5812, allocations: 77.7 kB / 1.656 GB, free: 20.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007443/0.582, allocations: 0.74 MB / 1.656 GB, free: 20.19 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.5823, allocations: 225.3 kB / 1.657 GB, free: 19.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.5824, allocations: 28 kB / 1.657 GB, free: 19.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5825, allocations: 361.9 kB / 1.657 GB, free: 19.58 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.5836, allocations: 391.8 kB / 1.657 GB, free: 19.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.5849, allocations: 0.7673 MB / 1.658 GB, free: 18.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.5859, allocations: 406.2 kB / 1.659 GB, free: 17.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.5859, allocations: 0 / 1.659 GB, free: 17.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003015/0.589, allocations: 1.261 MB / 1.66 GB, free: 16.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.589, allocations: 8 kB / 1.66 GB, free: 16.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.589, allocations: 12 kB / 1.66 GB, free: 16.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.511e-05/0.5891, allocations: 16 kB / 1.66 GB, free: 16.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009637/0.5901, allocations: 167.6 kB / 1.66 GB, free: 16.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.041e-05/0.5901, allocations: 31.88 kB / 1.66 GB, free: 16.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.5912, allocations: 115.4 kB / 1.66 GB, free: 16.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.5914, allocations: 63.97 kB / 1.66 GB, free: 16.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$whenCondition10,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition9,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,$PRE.con.staBy.localActive,con.staBy.localActive,con.staBy.outPort[2].available,$PRE.con.staBy.newActive,con.staBy.newActive,$PRE.con.staBy.oldActive,con.staBy.oldActive,con.staBy.active,$PRE.con.pumOn.localActive,con.pumOn.localActive,con.pumOn.outPort[2].available,$PRE.con.pumOn.newActive,con.pumOn.newActive,$PRE.con.pumOn.oldActive,con.pumOn.oldActive,con.pumOn.active,$PRE.con.warUp.localActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,$PRE.con.warUp.newActive,con.warUp.newActive,$PRE.con.warUp.oldActive,con.warUp.oldActive,con.warUp.active,$PRE.con.cooDow.localActive,con.cooDow.localActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,$PRE.con.cooDow.newActive,con.cooDow.newActive,$PRE.con.cooDow.oldActive,con.cooDow.oldActive,con.cooDow.active,$PRE.con.hys.y,con.hys.y,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.nor.active,con.transition8.enableFire,$PRE.con.warUpCtr.timer.passed,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,con.transition6.enableFire,$PRE.con.plaOff.localActive,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,$PRE.con.plaOff.newActive,con.plaOff.newActive,$PRE.con.plaOff.oldActive,con.plaOff.oldActive,con.plaOff.active,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.passed,con.timer.passed,$PRE.con.timer.entryTime,con.timer.entryTime,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 173 * 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.001158/0.5926, allocations: 0.5161 MB / 1.661 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.5929, allocations: 158.1 kB / 1.661 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.5954, allocations: 0.9817 MB / 1.662 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5954, allocations: 12 kB / 1.662 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5954, allocations: 0 / 1.662 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.5955, allocations: 7.938 kB / 1.662 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.6007, allocations: 2.459 MB / 1.664 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.6008, allocations: 0 / 1.664 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.6012, allocations: 75.77 kB / 1.664 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.6012, allocations: 7.938 kB / 1.664 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/0.6013, allocations: 23.98 kB / 1.664 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/0.6013, allocations: 4 kB / 1.664 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6013, allocations: 3.984 kB / 1.664 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.6035, allocations: 1.017 MB / 1.665 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.6039, allocations: 259 kB / 1.666 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.6042, allocations: 31.98 kB / 1.666 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.6049, allocations: 47.97 kB / 1.666 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003937/0.6053, allocations: 144.8 kB / 1.666 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.6054, allocations: 35.98 kB / 1.666 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001911/0.6074, allocations: 1.024 MB / 1.667 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.864e-06/0.6074, allocations: 4 kB / 1.667 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001486/0.6089, allocations: 295.8 kB / 1.667 GB, free: 8.973 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 86 (con.transition4.enableFire,con.plaOff.active,con.nor.active,con.cooDow.active,con.cooDow.localActive,con.warUp.active,con.warUp.localActive,con.pumOn.localActive,con.staBy.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$whenCondition10,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.staBy.active,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.pumOn.active,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,con.warUp.newActive,con.warUp.oldActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,con.cooDow.newActive,con.cooDow.oldActive,con.hys.y,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.localActive,con.nor.newActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.timer.passed,con.warUpCtr.timer.entryTime,con.transition6.enableFire,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.transition4.fire,con.transition4.t_start,con.timer.passed,con.timer.entryTime,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 16 (mWat_flow.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.warUpCtr.timer.entryTime,con.cooDow.newActive,con.timer.entryTime,con.nor.newActive,con.plaOff.newActive,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.001552/0.6105, allocations: 0.5549 MB / 1.668 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002516/0.613, allocations: 0.977 MB / 1.669 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6131, allocations: 4.125 kB / 1.669 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.6142, allocations: 461.5 kB / 1.669 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.6161, allocations: 229.7 kB / 1.669 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006204/0.6224, allocations: 3.038 MB / 1.672 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.6234, allocations: 1.35 MB / 1.674 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001133/0.6246, allocations: 222.3 kB / 1.674 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/0.6251, allocations: 111.3 kB / 1.674 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of SimCode: time 2.064e-06/0.6252, allocations: 0 / 1.674 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.7115/1.337, allocations: 14.85 MB / 1.688 GB, free: 191.1 MB / 0.8073 GB