Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001828/0.001828, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.002461/0.002461, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 68.11 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.01146/1.053, allocations: 8.895 MB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009275/1.062, allocations: 4.499 MB / 1.18 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/1.064, allocations: 43.81 kB / 1.18 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002815/1.067, allocations: 0.8277 MB / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003024/1.07, allocations: 0.6494 MB / 1.182 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/1.075, allocations: 1.459 MB / 1.183 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005486/1.08, allocations: 3.435 MB / 1.187 GB, free: 15.97 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004249/1.085, allocations: 2.386 MB / 1.189 GB, free: 13.53 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/1.087, allocations: 1.241 MB / 1.19 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/1.089, allocations: 1.322 MB / 1.191 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000955/1.09, allocations: 340 kB / 1.192 GB, free: 10.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/1.091, allocations: 0.6207 MB / 1.192 GB, free: 10 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001449/1.093, allocations: 1.39 MB / 1.194 GB, free: 8.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0028/1.096, allocations: 2.051 MB / 1.196 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00743/1.103, allocations: 5.941 MB / 1.202 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.103, allocations: 0 / 1.202 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.726e-06/1.103, allocations: 3.984 kB / 1.202 GB, free: 0.582 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002019/1.103, allocations: 0 / 1.202 GB, free: 0.582 MB / 0.92 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.009708/1.113, allocations: 4.926 MB / 1.206 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.113, allocations: 8.922 kB / 1.206 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/1.116, allocations: 0.7239 MB / 1.207 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005883/1.122, allocations: 2.987 MB / 1.21 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/1.122, allocations: 218.7 kB / 1.21 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/1.123, allocations: 228 kB / 1.21 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/1.128, allocations: 2.556 MB / 1.213 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/1.128, allocations: 7.938 kB / 1.213 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/1.128, allocations: 87.98 kB / 1.213 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/1.128, allocations: 52 kB / 1.213 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004315/1.132, allocations: 2.162 MB / 1.215 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/1.148, allocations: 10.38 MB / 1.225 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/1.151, allocations: 2.217 MB / 1.228 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/1.153, allocations: 0.9377 MB / 1.228 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/1.154, allocations: 278.2 kB / 1.229 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/1.156, allocations: 1.222 MB / 1.23 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=169): time 6.011e-06/1.156, allocations: 0 / 1.23 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=169): time 0.005863/1.162, allocations: 2.938 MB / 1.233 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/1.162, allocations: 431 kB / 1.233 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007589/1.169, allocations: 4.887 MB / 1.238 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003586/1.17, allocations: 109.7 kB / 1.238 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001914/1.172, allocations: 1.885 MB / 1.24 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007007/1.172, allocations: 492.2 kB / 1.24 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007729/1.173, allocations: 472.1 kB / 1.241 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.173, allocations: 305.1 kB / 1.241 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/1.175, allocations: 0.8749 MB / 1.242 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/1.177, allocations: 1.416 MB / 1.243 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/1.18, allocations: 2.055 MB / 1.245 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/1.18, allocations: 4 kB / 1.245 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.005555/1.186, allocations: 2.734 MB / 1.248 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/1.186, allocations: 37.7 kB / 1.248 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/1.186, allocations: 12 kB / 1.248 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001168/1.186, allocations: 24 kB / 1.248 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.188, allocations: 343.6 kB / 1.248 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.509e-05/1.188, allocations: 35.91 kB / 1.248 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/1.19, allocations: 234.6 kB / 1.249 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/1.191, allocations: 95.97 kB / 1.249 GB, free: 14.89 MB / 0.9825 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.002528/1.193, allocations: 1.158 MB / 1.25 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.194, allocations: 409.3 kB / 1.25 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004415/1.199, allocations: 2.317 MB / 1.253 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/1.199, allocations: 11.97 kB / 1.253 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.199, allocations: 3.938 kB / 1.253 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.2, allocations: 0.7828 MB / 1.253 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004613/1.201, allocations: 55.98 kB / 1.253 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.202, allocations: 87.86 kB / 1.253 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/1.202, allocations: 201.1 kB / 1.254 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004538/1.207, allocations: 3.023 MB / 1.257 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007264/1.214, allocations: 4.442 MB / 1.261 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001853/1.216, allocations: 1.104 MB / 1.262 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.005612/1.221, allocations: 3.307 MB / 1.265 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of Backend: time 1.152e-06/1.221, allocations: 0 / 1.265 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006129/1.228, allocations: 1.937 MB / 1.267 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of SimCode: time 0.01076/1.238, allocations: 7.014 MB / 1.274 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of Templates: time 0.07327/1.312, allocations: 36.83 MB / 1.31 GB, free: 344 kB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches