Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.497/2.497, allocations: 253.2 MB / 260.6 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 166.7 kB / 319.9 MB, free: 3.051 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.5 MB / 0.5708 GB, free: 15.19 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 101.3 kB / 0.6751 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.048e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2302, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9153/1.146, allocations: 143.8 MB / 1.029 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004763/1.146, allocations: 88.38 kB / 1.029 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1806/1.327, allocations: 32.82 MB / 1.061 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.094e-06/1.327, allocations: 0 / 1.061 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002433/1.327, allocations: 39.94 kB / 1.061 GB, free: 14.38 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004516/1.332, allocations: 1.567 MB / 1.063 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.332, allocations: 12.02 kB / 1.063 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/1.332, allocations: 201.6 kB / 1.063 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/1.336, allocations: 1.041 MB / 1.064 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/1.336, allocations: 95.75 kB / 1.064 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/1.336, allocations: 79.98 kB / 1.064 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00253/1.339, allocations: 0.7805 MB / 1.065 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/1.342, allocations: 1.16 MB / 1.066 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/1.342, allocations: 7.938 kB / 1.066 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/1.342, allocations: 7.984 kB / 1.066 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/1.342, allocations: 28 kB / 1.066 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009817/1.352, allocations: 5.336 MB / 1.071 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/1.354, allocations: 0.6318 MB / 1.072 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007637/1.354, allocations: 324.8 kB / 1.072 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/1.355, allocations: 10.11 kB / 1.072 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/1.356, allocations: 449.6 kB / 1.073 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 3.877e-06/1.356, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.00218/1.358, allocations: 0.7306 MB / 1.073 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.358, allocations: 130.8 kB / 1.074 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/1.361, allocations: 1.385 MB / 1.075 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003453/1.362, allocations: 55.62 kB / 1.075 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/1.363, allocations: 0.7406 MB / 1.076 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004991/1.363, allocations: 224.5 kB / 1.076 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/1.364, allocations: 0 / 1.076 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.364, allocations: 358.4 kB / 1.076 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/1.365, allocations: 362.1 kB / 1.077 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/1.366, allocations: 0.7218 MB / 1.077 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/1.367, allocations: 369.8 kB / 1.078 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/1.367, allocations: 4 kB / 1.078 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003101/1.37, allocations: 1.126 MB / 1.079 GB, free: 15.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/1.37, allocations: 9.094 kB / 1.079 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/1.37, allocations: 16.06 kB / 1.079 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.282e-05/1.37, allocations: 20 kB / 1.079 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/1.372, allocations: 170 kB / 1.079 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.062e-05/1.372, allocations: 19.94 kB / 1.079 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.373, allocations: 83.77 kB / 1.079 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/1.373, allocations: 66.73 kB / 1.079 GB, free: 15.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 124 ($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,$PRE.con.timer.yAcc,con.timer.yAcc,$PRE.con.warUpCtr.timer.yAcc,con.warUpCtr.timer.yAcc,$whenCondition10,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition9,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,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.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.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,$PRE.con.warUpCtr.timer.reset_internal,con.warUpCtr.timer.reset_internal,$PRE.con.timer.reset_internal,con.timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * 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.0004642/1.374, allocations: 218.1 kB / 1.079 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/1.374, allocations: 146.1 kB / 1.08 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/1.377, allocations: 0.8755 MB / 1.08 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/1.377, allocations: 12 kB / 1.08 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.377, allocations: 4 kB / 1.08 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/1.377, allocations: 3.984 kB / 1.08 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/1.383, allocations: 2.216 MB / 1.083 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.383, allocations: 0 / 1.083 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/1.384, allocations: 62.66 kB / 1.083 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/1.384, allocations: 3.953 kB / 1.083 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/1.384, allocations: 27.28 kB / 1.083 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/1.384, allocations: 4 kB / 1.083 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.384, allocations: 0 / 1.083 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/1.386, allocations: 0.9314 MB / 1.084 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/1.387, allocations: 252.5 kB / 1.084 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/1.387, allocations: 18.12 kB / 1.084 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007455/1.388, allocations: 31.97 kB / 1.084 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004663/1.388, allocations: 144.5 kB / 1.084 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/1.388, allocations: 38.91 kB / 1.084 GB, free: 11.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002037/1.39, allocations: 0.9247 MB / 1.085 GB, free: 10.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.51e-07/1.39, allocations: 0 / 1.085 GB, free: 10.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001757/1.392, allocations: 239.3 kB / 1.085 GB, free: 10.61 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: 88 (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,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$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.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,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.entryTime,con.warUpCtr.timer.yAcc,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.entryTime,con.timer.yAcc,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.cooDow.newActive,con.nor.newActive,con.plaOff.newActive,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y,avaSig.combiTimeTable.nextTimeEventScaled,con.timer.y,con.warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 92 * 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.001446/1.394, allocations: 492.3 kB / 1.086 GB, free: 10.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002434/1.396, allocations: 0.9026 MB / 1.086 GB, free: 9.602 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.396, allocations: 0 / 1.086 GB, free: 9.602 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.397, allocations: 414.1 kB / 1.087 GB, free: 9.328 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/1.399, allocations: 192.9 kB / 1.087 GB, free: 9.188 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/1.405, allocations: 1.992 MB / 1.089 GB, free: 7.457 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.406, allocations: 1.359 MB / 1.09 GB, free: 6.113 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001329/1.408, allocations: 214.3 kB / 1.091 GB, free: 5.902 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/1.408, allocations: 114.4 kB / 1.091 GB, free: 5.797 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.408, allocations: 0 / 1.091 GB, free: 5.797 MB / 0.698 GB Notification: Performance of Templates: time 0.04702/1.455, allocations: 13.06 MB / 1.103 GB, free: 8.828 MB / 0.7136 GB