Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|eneConEngTem.mFue_flow|eneConTimDel.mFue_flow|eneConEngTem.QGen_flow|eneConTimDel.QGen_flow|eneConEngTem.PEleNet|eneConTimDel.PEleNet|PEle.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|eneConEngTem.mFue_flow|eneConTimDel.mFue_flow|eneConEngTem.QGen_flow|eneConTimDel.QGen_flow|eneConEngTem.PEleNet|eneConTimDel.PEleNet|PEle.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 111.1 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.001331, allocations: 191.8 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9371/0.9385, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.0131/0.9516, allocations: 8.879 MB / 1.217 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009623/0.9613, allocations: 4.502 MB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.9646, allocations: 51.81 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003349/0.968, allocations: 0.8266 MB / 1.222 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.9711, allocations: 0.6285 MB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.9754, allocations: 1.458 MB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005655/0.9811, allocations: 3.435 MB / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004531/0.9856, allocations: 2.39 MB / 1.23 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.9882, allocations: 1.237 MB / 1.231 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.9904, allocations: 1.322 MB / 1.233 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.9915, allocations: 340 kB / 1.233 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.9932, allocations: 0.6246 MB / 1.234 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.9948, allocations: 1.394 MB / 1.235 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002978/0.9978, allocations: 2.047 MB / 1.237 GB, free: 400 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007974/1.006, allocations: 5.919 MB / 1.243 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.006, allocations: 4 kB / 1.243 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/1.006, allocations: 0 / 1.243 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001939/1.006, allocations: 0 / 1.243 GB, free: 10.45 MB / 0.9669 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.009886/1.016, allocations: 4.769 MB / 1.247 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/1.016, allocations: 8.031 kB / 1.247 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/1.019, allocations: 0.7016 MB / 1.248 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/1.024, allocations: 2.948 MB / 1.251 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/1.024, allocations: 222.8 kB / 1.251 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/1.025, allocations: 231.9 kB / 1.251 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004585/1.029, allocations: 2.556 MB / 1.254 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/1.029, allocations: 0 / 1.254 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/1.03, allocations: 91.98 kB / 1.254 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/1.03, allocations: 55.94 kB / 1.254 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/1.034, allocations: 2.162 MB / 1.256 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/1.048, allocations: 10.35 MB / 1.266 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/1.052, allocations: 2.221 MB / 1.268 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/1.054, allocations: 0.943 MB / 1.269 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/1.054, allocations: 274.2 kB / 1.27 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001934/1.056, allocations: 1.234 MB / 1.271 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=169): time 3.917e-06/1.056, allocations: 0 / 1.271 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169): time 0.005346/1.062, allocations: 2.917 MB / 1.274 GB, free: 10 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/1.062, allocations: 427.1 kB / 1.274 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008571/1.07, allocations: 4.875 MB / 1.279 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005524/1.071, allocations: 109.7 kB / 1.279 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002291/1.073, allocations: 1.87 MB / 1.281 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008693/1.074, allocations: 461.9 kB / 1.281 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009567/1.075, allocations: 479.9 kB / 1.282 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.075, allocations: 309.1 kB / 1.282 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/1.077, allocations: 0.8749 MB / 1.283 GB, free: 492 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/1.08, allocations: 1.413 MB / 1.284 GB, free: 14.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/1.083, allocations: 2.055 MB / 1.286 GB, free: 12.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/1.083, allocations: 4 kB / 1.286 GB, free: 12.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.005539/1.088, allocations: 2.708 MB / 1.289 GB, free: 9.863 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/1.089, allocations: 47.88 kB / 1.289 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/1.089, allocations: 12 kB / 1.289 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.47e-05/1.089, allocations: 24 kB / 1.289 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.09, allocations: 335.8 kB / 1.289 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.82e-05/1.09, allocations: 39.84 kB / 1.289 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/1.092, allocations: 238 kB / 1.289 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.092, allocations: 91.98 kB / 1.29 GB, free: 9.086 MB / 1.014 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.002394/1.095, allocations: 1.143 MB / 1.291 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009791/1.096, allocations: 391 kB / 1.291 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/1.1, allocations: 2.317 MB / 1.293 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/1.1, allocations: 15.95 kB / 1.293 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/1.1, allocations: 8 kB / 1.293 GB, free: 5.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.102, allocations: 0.7572 MB / 1.294 GB, free: 4.398 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005191/1.102, allocations: 59.98 kB / 1.294 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.103, allocations: 83.86 kB / 1.294 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/1.104, allocations: 209 kB / 1.294 GB, free: 4.055 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004367/1.108, allocations: 3.019 MB / 1.297 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006248/1.114, allocations: 4.42 MB / 1.302 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001865/1.116, allocations: 1.112 MB / 1.303 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.006066/1.122, allocations: 3.299 MB / 1.306 GB, free: 8.129 MB / 1.029 GB Notification: Performance of Backend: time 7.21e-07/1.122, allocations: 0 / 1.306 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006877/1.129, allocations: 1.923 MB / 1.308 GB, free: 6.352 MB / 1.029 GB Notification: Performance of SimCode: time 0.01205/1.141, allocations: 6.906 MB / 1.315 GB, free: 15.39 MB / 1.045 GB Notification: Performance of Templates: time 0.0795/1.221, allocations: 37.93 MB / 1.352 GB, free: 9.633 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches