Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00317/0.00317, allocations: 208.2 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.651/1.651, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.431/3.431, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 76.14 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.5027, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.007905/0.5106, allocations: 4.341 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006929/0.5176, allocations: 3.125 MB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.5188, allocations: 31.81 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.5212, allocations: 0.6147 MB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.523, allocations: 483.1 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.5254, allocations: 0.8717 MB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003185/0.5286, allocations: 2.096 MB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.5303, allocations: 1.028 MB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.5314, allocations: 0.7241 MB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.5325, allocations: 0.7544 MB / 1.341 GB, free: 2.867 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.5328, allocations: 180 kB / 1.341 GB, free: 2.691 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.5334, allocations: 275.9 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.534, allocations: 0.5375 MB / 1.342 GB, free: 1.883 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008299/0.5348, allocations: 0.6643 MB / 1.342 GB, free: 1.215 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.5381, allocations: 2.439 MB / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.5381, allocations: 0 / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5381, allocations: 0 / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.09e-05/0.5381, allocations: 4 kB / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004494/0.5426, allocations: 2.103 MB / 1.347 GB, free: 12.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.5427, allocations: 8.031 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5438, allocations: 263.5 kB / 1.347 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.5459, allocations: 1.047 MB / 1.348 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.5462, allocations: 277.3 kB / 1.348 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.5464, allocations: 143.9 kB / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.5491, allocations: 1.417 MB / 1.35 GB, free: 9.246 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.5491, allocations: 4 kB / 1.35 GB, free: 9.242 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.5493, allocations: 48 kB / 1.35 GB, free: 9.195 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.5493, allocations: 32 kB / 1.35 GB, free: 9.164 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.5512, allocations: 0.9487 MB / 1.351 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007433/0.5586, allocations: 5.018 MB / 1.356 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.5604, allocations: 0.8466 MB / 1.357 GB, free: 2.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/0.5611, allocations: 391.4 kB / 1.357 GB, free: 1.676 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.416e-05/0.5612, allocations: 16.94 kB / 1.357 GB, free: 1.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.5624, allocations: 0.6868 MB / 1.358 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of pre-optimization done (n=106): time 4.639e-06/0.5624, allocations: 0 / 1.358 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of matching and sorting (n=106): time 0.002758/0.5652, allocations: 1.242 MB / 1.359 GB, free: 15.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002207/0.5654, allocations: 327.8 kB / 1.359 GB, free: 15.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.5677, allocations: 1.455 MB / 1.361 GB, free: 13.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.5679, allocations: 85.69 kB / 1.361 GB, free: 13.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/0.5687, allocations: 0.7219 MB / 1.361 GB, free: 13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.569, allocations: 285.8 kB / 1.362 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005007/0.5695, allocations: 335.5 kB / 1.362 GB, free: 12.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5697, allocations: 305.1 kB / 1.362 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007865/0.5705, allocations: 403.8 kB / 1.363 GB, free: 11.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.5717, allocations: 0.8716 MB / 1.364 GB, free: 10.63 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.5732, allocations: 0.9656 MB / 1.365 GB, free: 9.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.5732, allocations: 0 / 1.365 GB, free: 9.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.002502/0.5757, allocations: 1.3 MB / 1.366 GB, free: 8.211 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.5757, allocations: 8 kB / 1.366 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5758, allocations: 12.84 kB / 1.366 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.69e-05/0.5758, allocations: 16 kB / 1.366 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.5764, allocations: 179.5 kB / 1.366 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/0.5764, allocations: 31.92 kB / 1.366 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/0.5772, allocations: 135.2 kB / 1.366 GB, free: 7.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.5773, allocations: 59.98 kB / 1.366 GB, free: 7.777 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 138 ($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.avaSig.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,con.transition3.t_start,$PRE.con.transition3.t_start,con.transition5.t_start,$PRE.con.transition5.t_start,con.transition9.t_start,$PRE.con.transition9.t_start,con.transition7.t_start,$PRE.con.transition7.t_start,con.transition10.t_start,$PRE.con.transition10.t_start,con.transition1.t_start,$PRE.con.transition1.t_start,con.transition2.t_start,$PRE.con.transition2.t_start,con.transition8.t_start,$PRE.con.transition8.t_start,con.transition6.t_start,$PRE.con.transition6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,stateGraphRoot.activeSteps,powCon.cooDow.y,powCon.staBy.y,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timer.passed,$PRE.con.timer.passed,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,con.warUpCtr.timer.entryTime,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.passed,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition1.enableFire,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.inPort[1].set,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,con.opeMod,con.runSig,con.avaSig,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009786/0.5783, allocations: 0.5186 MB / 1.367 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.5786, allocations: 159 kB / 1.367 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.5804, allocations: 0.9186 MB / 1.368 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5805, allocations: 7.984 kB / 1.368 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5805, allocations: 7.984 kB / 1.368 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.5808, allocations: 166.8 kB / 1.368 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.581, allocations: 39.98 kB / 1.368 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.5814, allocations: 47.89 kB / 1.368 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/0.5817, allocations: 164.7 kB / 1.368 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002199/0.5839, allocations: 1.69 MB / 1.37 GB, free: 4.031 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002259/0.5862, allocations: 1.832 MB / 1.372 GB, free: 2.168 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008249/0.587, allocations: 455.7 kB / 1.372 GB, free: 1.723 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00143/0.5884, allocations: 0.8846 MB / 1.373 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of Backend: time 5.82e-07/0.5884, allocations: 3.938 kB / 1.373 GB, free: 0.832 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004887/0.5933, allocations: 1.109 MB / 1.374 GB, free: 15.9 MB / 1.076 GB Notification: Performance of SimCode: time 0.005384/0.5987, allocations: 2.933 MB / 1.377 GB, free: 12.92 MB / 1.076 GB Notification: Performance of Templates: time 0.03632/0.635, allocations: 18 MB / 1.394 GB, free: 11.13 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_PowerConsumption.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.989477936003823]