Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.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.001688/0.001688, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.0019/0.0019, allocations: 213 kB / 23 MB, free: 4.969 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.615/1.615, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.612/3.612, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.EnergyConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.opeMod|eneConEngTem.mFue_flow|eneConTimDel.mFue_flow|eneConEngTem.QGen_flow|eneConTimDel.QGen_flow|eneConEngTem.PEleNet|eneConTimDel.PEleNet|PEle.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.opeMod|eneConEngTem.mFue_flow|eneConTimDel.mFue_flow|eneConEngTem.QGen_flow|eneConTimDel.QGen_flow|eneConEngTem.PEleNet|eneConTimDel.PEleNet|PEle.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") [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.002692/0.002692, allocations: 75.95 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5215, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.01321/0.5347, allocations: 7.793 MB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.5455, allocations: 4.48 MB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.5486, allocations: 47.75 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.5517, allocations: 0.8151 MB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.5552, allocations: 0.7259 MB / 1.341 GB, free: 3.082 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.5596, allocations: 1.396 MB / 1.342 GB, free: 1.688 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007026/0.5666, allocations: 3.482 MB / 1.345 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004237/0.5708, allocations: 1.996 MB / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.5732, allocations: 1.273 MB / 1.349 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.5756, allocations: 1.365 MB / 1.35 GB, free: 9.484 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0009054/0.5765, allocations: 336 kB / 1.35 GB, free: 9.156 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.5782, allocations: 0.6246 MB / 1.351 GB, free: 8.531 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.5798, allocations: 1.41 MB / 1.352 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00234/0.5821, allocations: 1.526 MB / 1.354 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008751/0.5909, allocations: 6.014 MB / 1.36 GB, free: 15.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.5909, allocations: 0 / 1.36 GB, free: 15.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5909, allocations: 0 / 1.36 GB, free: 15.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002201/0.5911, allocations: 0 / 1.36 GB, free: 15.54 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.01302/0.6041, allocations: 4.862 MB / 1.364 GB, free: 10.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.6042, allocations: 8.031 kB / 1.364 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00394/0.6081, allocations: 0.7706 MB / 1.365 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007112/0.6152, allocations: 2.896 MB / 1.368 GB, free: 6.832 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/0.6156, allocations: 347.2 kB / 1.368 GB, free: 6.453 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004625/0.616, allocations: 232 kB / 1.368 GB, free: 6.227 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005314/0.6213, allocations: 2.668 MB / 1.371 GB, free: 3.383 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-05/0.6214, allocations: 0 / 1.371 GB, free: 3.383 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.6216, allocations: 87.94 kB / 1.371 GB, free: 3.297 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/0.6216, allocations: 63.97 kB / 1.371 GB, free: 3.234 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004411/0.626, allocations: 2.191 MB / 1.373 GB, free: 1.035 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.6433, allocations: 9.096 MB / 1.382 GB, free: 7.758 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004264/0.6475, allocations: 2.043 MB / 1.384 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.6492, allocations: 0.8856 MB / 1.385 GB, free: 4.703 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/0.6499, allocations: 201.1 kB / 1.385 GB, free: 4.508 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002392/0.6523, allocations: 1.359 MB / 1.387 GB, free: 3.066 MB / 1.076 GB Notification: Performance of pre-optimization done (n=169): time 7.173e-06/0.6523, allocations: 4 kB / 1.387 GB, free: 3.062 MB / 1.076 GB Notification: Performance of matching and sorting (n=169): time 0.007377/0.6597, allocations: 2.981 MB / 1.39 GB, free: 56 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003214/0.66, allocations: 379.4 kB / 1.39 GB, free: 15.61 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/0.6705, allocations: 4.899 MB / 1.395 GB, free: 10.68 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005633/0.671, allocations: 113.7 kB / 1.395 GB, free: 10.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00233/0.6733, allocations: 1.908 MB / 1.397 GB, free: 8.645 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008416/0.6742, allocations: 492.1 kB / 1.397 GB, free: 8.16 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008459/0.675, allocations: 472.1 kB / 1.398 GB, free: 7.691 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6752, allocations: 301.1 kB / 1.398 GB, free: 7.395 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.677, allocations: 0.9 MB / 1.399 GB, free: 6.484 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.6794, allocations: 1.662 MB / 1.4 GB, free: 4.535 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/0.683, allocations: 2.066 MB / 1.402 GB, free: 2.273 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.683, allocations: 4 kB / 1.402 GB, free: 2.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.006592/0.6896, allocations: 2.748 MB / 1.405 GB, free: 15.5 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.6896, allocations: 45.69 kB / 1.405 GB, free: 15.45 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/0.6897, allocations: 16.59 kB / 1.405 GB, free: 15.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.877e-05/0.6897, allocations: 28.09 kB / 1.405 GB, free: 15.4 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.6913, allocations: 323.2 kB / 1.405 GB, free: 15.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-05/0.6914, allocations: 35.86 kB / 1.406 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.6937, allocations: 238.6 kB / 1.406 GB, free: 14.82 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.6939, allocations: 87.98 kB / 1.406 GB, free: 14.73 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 160 ($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.mWat_flow.tab.nextTimeEvent,$whenCondition8,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition2,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,eneConEngTem.and1.u2,eneConEngTem.engTemWarUp.y,eneConTimDel.and1.u2,eneConTimDel.engTemWarUp.y,stateGraphRoot.resume,stateGraphRoot.suspend,eneConTimDel.delWarUp.y,eneConEngTem.delWarUp.y,eneConTimDel.and1.y,eneConEngTem.opeModWarUpEngTem.temChe.y,$PRE.eneConEngTem.opeModWarUpEngTem.temChe.y,stateGraphRoot.activeSteps,PEle.nextEventScaled,PEle.nextEvent,$PRE.PEle.nextEvent,PEle.last,PEle.b,PEle.a,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.pre.u,$PRE.con.warUpCtr.pre.u,con.warUpCtr.hysPow.y,$PRE.con.warUpCtr.hysPow.y,con.warUpCtr.hysTem.y,$PRE.con.warUpCtr.hysTem.y,con.warUpCtr.y,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,eneConTimDel.wamUpMod.y,eneConTimDel.booExp.y,eneConTimDel.assFue.hys.y,$PRE.eneConTimDel.assFue.hys.y,eneConEngTem.and1.y,eneConEngTem.booExp.y,eneConEngTem.assFue.hys.y,$PRE.eneConEngTem.assFue.hys.y,$whenCondition1,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 1 * 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.002414/0.6963, allocations: 1.147 MB / 1.407 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.6974, allocations: 413.3 kB / 1.407 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/0.702, allocations: 2.279 MB / 1.41 GB, free: 10.86 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.702, allocations: 7.969 kB / 1.41 GB, free: 10.85 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.702, allocations: 4 kB / 1.41 GB, free: 10.85 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/0.7041, allocations: 0.6842 MB / 1.41 GB, free: 10.16 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005192/0.7046, allocations: 55.98 kB / 1.41 GB, free: 10.11 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.7056, allocations: 83.92 kB / 1.41 GB, free: 10.02 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004648/0.7061, allocations: 228.9 kB / 1.411 GB, free: 9.797 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004703/0.7108, allocations: 2.981 MB / 1.414 GB, free: 6.781 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00695/0.7178, allocations: 4.441 MB / 1.418 GB, free: 2.297 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001883/0.7196, allocations: 1.023 MB / 1.419 GB, free: 1.266 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.006228/0.7259, allocations: 3.287 MB / 1.422 GB, free: 13.97 MB / 1.123 GB Notification: Performance of Backend: time 1.282e-06/0.7259, allocations: 4 kB / 1.422 GB, free: 13.97 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00745/0.7333, allocations: 1.86 MB / 1.424 GB, free: 12.28 MB / 1.123 GB Notification: Performance of SimCode: time 0.01479/0.7481, allocations: 7.001 MB / 1.431 GB, free: 5.211 MB / 1.123 GB Notification: Performance of Templates: time 0.086/0.8341, allocations: 41.05 MB / 1.471 GB, free: 12.47 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.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: 11.64654646400595]