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.333/2.333, allocations: 253.1 MB / 260.6 MB, free: 7.453 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.001437/0.001437, allocations: 178 kB / 319.9 MB, free: 3.094 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.529/2.529, allocations: 205.6 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.001065/0.001066, allocations: 92.89 kB / 0.6751 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.99e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2541, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8834/1.138, allocations: 144.9 MB / 1.03 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/1.138, allocations: 87.08 kB / 1.03 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1397/1.278, allocations: 33.27 MB / 1.063 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/1.278, allocations: 0 / 1.063 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001879/1.278, allocations: 44.09 kB / 1.063 GB, free: 12.98 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004356/1.282, allocations: 1.549 MB / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8e-05/1.282, allocations: 8.031 kB / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/1.283, allocations: 205.6 kB / 1.065 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003355/1.287, allocations: 1.018 MB / 1.066 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/1.287, allocations: 90.48 kB / 1.066 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/1.287, allocations: 83.98 kB / 1.066 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002508/1.29, allocations: 0.8187 MB / 1.066 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/1.293, allocations: 1.188 MB / 1.068 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/1.293, allocations: 11.94 kB / 1.068 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/1.293, allocations: 5.625 kB / 1.068 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/1.293, allocations: 32 kB / 1.068 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009634/1.303, allocations: 5.383 MB / 1.073 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/1.304, allocations: 0.6698 MB / 1.074 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/1.305, allocations: 339.8 kB / 1.074 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.186e-05/1.305, allocations: 13 kB / 1.074 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/1.306, allocations: 459.9 kB / 1.074 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=99): time 3.707e-06/1.306, allocations: 11.94 kB / 1.074 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99): time 0.002169/1.309, allocations: 0.7518 MB / 1.075 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.309, allocations: 131.5 kB / 1.075 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/1.311, allocations: 1.25 MB / 1.076 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002864/1.312, allocations: 56.88 kB / 1.077 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009077/1.313, allocations: 0.7245 MB / 1.077 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000385/1.313, allocations: 236.7 kB / 1.077 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.578e-05/1.313, allocations: 0 / 1.077 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.313, allocations: 361.4 kB / 1.078 GB, free: 484 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009214/1.314, allocations: 349.3 kB / 1.078 GB, free: 280 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/1.316, allocations: 0.716 MB / 1.079 GB, free: 15.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/1.316, allocations: 358.6 kB / 1.079 GB, free: 15.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/1.316, allocations: 0 / 1.079 GB, free: 15.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003026/1.32, allocations: 1.101 MB / 1.08 GB, free: 14.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/1.32, allocations: 17.36 kB / 1.08 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/1.32, allocations: 15.94 kB / 1.08 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.843e-05/1.32, allocations: 20 kB / 1.08 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.321, allocations: 176.7 kB / 1.08 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.435e-05/1.321, allocations: 23.92 kB / 1.08 GB, free: 14.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/1.322, allocations: 87.31 kB / 1.081 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/1.322, allocations: 70.61 kB / 1.081 GB, free: 14.08 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 () * 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.0004707/1.323, allocations: 209.9 kB / 1.081 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/1.323, allocations: 142.2 kB / 1.081 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/1.326, allocations: 0.8861 MB / 1.082 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/1.326, allocations: 12 kB / 1.082 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.326, allocations: 3.984 kB / 1.082 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/1.326, allocations: 7.969 kB / 1.082 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/1.333, allocations: 2.213 MB / 1.084 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.333, allocations: 0 / 1.084 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/1.334, allocations: 78.77 kB / 1.084 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/1.334, allocations: 4 kB / 1.084 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.541e-05/1.334, allocations: 10.55 kB / 1.084 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/1.334, allocations: 4 kB / 1.084 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.334, allocations: 4 kB / 1.084 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/1.336, allocations: 0.9481 MB / 1.085 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/1.337, allocations: 233.3 kB / 1.085 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.337, allocations: 14.69 kB / 1.085 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/1.338, allocations: 35.95 kB / 1.085 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/1.339, allocations: 142.2 kB / 1.085 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.339, allocations: 40.59 kB / 1.085 GB, free: 10.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001902/1.341, allocations: 0.8362 MB / 1.086 GB, free: 9.523 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/1.341, allocations: 0 / 1.086 GB, free: 9.523 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001799/1.343, allocations: 242.8 kB / 1.087 GB, free: 9.289 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) * 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.001493/1.344, allocations: 493.2 kB / 1.087 GB, free: 8.898 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.347, allocations: 0.9041 MB / 1.088 GB, free: 8.277 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.347, allocations: 0 / 1.088 GB, free: 8.277 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009953/1.348, allocations: 431.2 kB / 1.088 GB, free: 7.992 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.349, allocations: 210.2 kB / 1.088 GB, free: 7.836 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/1.355, allocations: 1.916 MB / 1.09 GB, free: 6.172 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.357, allocations: 1.34 MB / 1.092 GB, free: 4.844 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001257/1.358, allocations: 214.3 kB / 1.092 GB, free: 4.633 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/1.358, allocations: 106.9 kB / 1.092 GB, free: 4.531 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/1.358, allocations: 0 / 1.092 GB, free: 4.531 MB / 0.698 GB Notification: Performance of Templates: time 0.04637/1.405, allocations: 12.89 MB / 1.105 GB, free: 7.73 MB / 0.7136 GB