Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.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.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.203/2.203, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002142/0.002142, allocations: 182.5 kB / 325.6 MB, free: 2.832 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.319/2.319, allocations: 205.4 MB / 0.5766 GB, free: 20.68 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.001227/0.001227, allocations: 98.28 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007591/0.0007592, allocations: 12.84 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2221, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2563/0.4785, allocations: 144.7 MB / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004938/0.479, allocations: 103.9 kB / 1.04 GB, free: 436 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8137/1.293, allocations: 33.81 MB / 1.073 GB, free: 146.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.316e-06/1.293, allocations: 0 / 1.073 GB, free: 146.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002164/1.293, allocations: 45.59 kB / 1.073 GB, free: 146.8 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.00579/1.299, allocations: 1.788 MB / 1.075 GB, free: 145.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.299, allocations: 12.44 kB / 1.075 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/1.3, allocations: 202.4 kB / 1.075 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/1.303, allocations: 1.017 MB / 1.076 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/1.304, allocations: 136.6 kB / 1.076 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004595/1.304, allocations: 137.5 kB / 1.077 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004225/1.308, allocations: 1.379 MB / 1.078 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/1.309, allocations: 5.438 kB / 1.078 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/1.309, allocations: 55.69 kB / 1.078 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/1.309, allocations: 38.8 kB / 1.078 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/1.313, allocations: 0.9495 MB / 1.079 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/1.324, allocations: 5.614 MB / 1.084 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/1.326, allocations: 0.7395 MB / 1.085 GB, free: 141.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.772e-05/1.327, allocations: 13.19 kB / 1.085 GB, free: 141.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/1.328, allocations: 0.5032 MB / 1.086 GB, free: 140.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 4.588e-06/1.328, allocations: 0 / 1.086 GB, free: 140.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.004014/1.332, allocations: 1.12 MB / 1.087 GB, free: 140.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/1.332, allocations: 121.6 kB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/1.336, allocations: 1.361 MB / 1.088 GB, free: 139.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004166/1.337, allocations: 81.38 kB / 1.088 GB, free: 139.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009477/1.338, allocations: 0.7355 MB / 1.089 GB, free: 138.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/1.338, allocations: 244.7 kB / 1.089 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.338, allocations: 28.34 kB / 1.089 GB, free: 138.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.339, allocations: 357.7 kB / 1.09 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/1.34, allocations: 396.6 kB / 1.09 GB, free: 138.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.341, allocations: 0.7708 MB / 1.091 GB, free: 137.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.342, allocations: 399.3 kB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/1.342, allocations: 7.922 kB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003572/1.346, allocations: 1.269 MB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/1.346, allocations: 7.656 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/1.346, allocations: 11.59 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.99e-05/1.346, allocations: 22.75 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.347, allocations: 174.6 kB / 1.093 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.402e-05/1.347, allocations: 31.17 kB / 1.093 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.349, allocations: 113.1 kB / 1.093 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.349, allocations: 66.17 kB / 1.093 GB, free: 136.4 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: 126 ($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.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.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,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,powCon.staBy.y,powCon.cooDow.y,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 183 * 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.001352/1.35, allocations: 0.5085 MB / 1.093 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004638/1.351, allocations: 147.8 kB / 1.093 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/1.353, allocations: 0.9858 MB / 1.094 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/1.354, allocations: 14.53 kB / 1.094 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.354, allocations: 0 / 1.094 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.354, allocations: 3.984 kB / 1.094 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0063/1.36, allocations: 2.456 MB / 1.097 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.36, allocations: 3.938 kB / 1.097 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/1.36, allocations: 71.81 kB / 1.097 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/1.36, allocations: 2.875 kB / 1.097 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/1.361, allocations: 26.19 kB / 1.097 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/1.361, allocations: 4.562 kB / 1.097 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.361, allocations: 0 / 1.097 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/1.363, allocations: 1.027 MB / 1.098 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/1.364, allocations: 238.1 kB / 1.098 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/1.364, allocations: 35.7 kB / 1.098 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007642/1.365, allocations: 47.38 kB / 1.098 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/1.365, allocations: 146.5 kB / 1.098 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.365, allocations: 36.48 kB / 1.098 GB, free: 132.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001959/1.367, allocations: 0.9485 MB / 1.099 GB, free: 132.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/1.367, allocations: 3.844 kB / 1.099 GB, free: 132.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001993/1.369, allocations: 280.4 kB / 1.1 GB, free: 132.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: 90 (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,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.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,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,powCon.staBy.y,powCon.cooDow.y,stateGraphRoot.activeSteps) * Number of discrete states: 16 (avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.cooDow.newActive,con.nor.newActive,con.plaOff.newActive,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.timer.y,con.warUpCtr.timer.y,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 96 * 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.001857/1.371, allocations: 0.5652 MB / 1.1 GB, free: 132 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003266/1.375, allocations: 1 MB / 1.101 GB, free: 131.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.375, allocations: 0 / 1.101 GB, free: 131.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/1.376, allocations: 467.1 kB / 1.102 GB, free: 130.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.378, allocations: 213.1 kB / 1.102 GB, free: 130.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.389, allocations: 2.972 MB / 1.105 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/1.391, allocations: 1.336 MB / 1.106 GB, free: 126.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001527/1.392, allocations: 222.4 kB / 1.106 GB, free: 125.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000528/1.393, allocations: 115.3 kB / 1.106 GB, free: 125.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.263e-06/1.393, allocations: 3.938 kB / 1.106 GB, free: 125.8 MB / 0.698 GB Notification: Performance of Templates: time 0.04235/1.435, allocations: 14.48 MB / 1.12 GB, free: 111.4 MB / 0.698 GB