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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001177/0.001177, allocations: 114.5 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.001231/0.001231, allocations: 190.7 kB / 17.35 MB, free: 5.707 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.0123/1.024, allocations: 8.884 MB / 1.235 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009201/1.033, allocations: 4.509 MB / 1.239 GB, free: 92 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003044/1.036, allocations: 39.88 kB / 1.239 GB, free: 52 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/1.039, allocations: 0.8296 MB / 1.24 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/1.042, allocations: 0.6481 MB / 1.241 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/1.046, allocations: 1.456 MB / 1.242 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005793/1.052, allocations: 3.419 MB / 1.246 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004593/1.057, allocations: 2.394 MB / 1.248 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/1.059, allocations: 1.237 MB / 1.249 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/1.061, allocations: 1.326 MB / 1.251 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001024/1.063, allocations: 340 kB / 1.251 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/1.064, allocations: 0.6285 MB / 1.251 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001728/1.066, allocations: 1.383 MB / 1.253 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003431/1.069, allocations: 2.043 MB / 1.255 GB, free: 264 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008725/1.078, allocations: 5.949 MB / 1.261 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.078, allocations: 0 / 1.261 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/1.078, allocations: 0 / 1.261 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002923/1.079, allocations: 0 / 1.261 GB, free: 10.29 MB / 0.9825 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.01252/1.091, allocations: 4.922 MB / 1.265 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.091, allocations: 8.031 kB / 1.265 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/1.095, allocations: 0.7239 MB / 1.266 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006905/1.101, allocations: 2.991 MB / 1.269 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/1.102, allocations: 222.7 kB / 1.269 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005922/1.102, allocations: 228 kB / 1.269 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005897/1.108, allocations: 2.557 MB / 1.272 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/1.108, allocations: 4 kB / 1.272 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/1.109, allocations: 88 kB / 1.272 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/1.109, allocations: 55.98 kB / 1.272 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0042/1.113, allocations: 2.166 MB / 1.274 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/1.129, allocations: 10.38 MB / 1.284 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/1.132, allocations: 2.215 MB / 1.287 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/1.134, allocations: 0.9412 MB / 1.287 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/1.135, allocations: 290.1 kB / 1.288 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/1.137, allocations: 1.23 MB / 1.289 GB, free: 12.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=169): time 6.351e-06/1.137, allocations: 0 / 1.289 GB, free: 12.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=169): time 0.006208/1.143, allocations: 2.919 MB / 1.292 GB, free: 9.586 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002791/1.143, allocations: 435.1 kB / 1.292 GB, free: 9.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00965/1.153, allocations: 4.883 MB / 1.297 GB, free: 4.168 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004885/1.154, allocations: 109.7 kB / 1.297 GB, free: 4.055 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00233/1.156, allocations: 1.885 MB / 1.299 GB, free: 2.156 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.157, allocations: 496.2 kB / 1.299 GB, free: 1.668 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/1.158, allocations: 472.1 kB / 1.3 GB, free: 1.199 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.158, allocations: 309.1 kB / 1.3 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/1.16, allocations: 0.871 MB / 1.301 GB, free: 20 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/1.163, allocations: 1.413 MB / 1.302 GB, free: 14.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/1.166, allocations: 2.059 MB / 1.304 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/1.166, allocations: 4 kB / 1.304 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.006199/1.173, allocations: 2.726 MB / 1.307 GB, free: 9.379 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/1.173, allocations: 41.7 kB / 1.307 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/1.173, allocations: 12 kB / 1.307 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.302e-05/1.173, allocations: 24.59 kB / 1.307 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.174, allocations: 339.3 kB / 1.307 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.801e-05/1.174, allocations: 35.86 kB / 1.307 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.177, allocations: 238.6 kB / 1.308 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/1.177, allocations: 95.97 kB / 1.308 GB, free: 8.602 MB / 1.029 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.002491/1.18, allocations: 1.151 MB / 1.309 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/1.181, allocations: 413.3 kB / 1.309 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004726/1.186, allocations: 2.324 MB / 1.312 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/1.186, allocations: 7.969 kB / 1.312 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.186, allocations: 4 kB / 1.312 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.188, allocations: 0.7751 MB / 1.312 GB, free: 3.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/1.188, allocations: 55.98 kB / 1.312 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/1.189, allocations: 95.84 kB / 1.312 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/1.19, allocations: 205 kB / 1.313 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004424/1.194, allocations: 3.019 MB / 1.316 GB, free: 492 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006392/1.2, allocations: 4.442 MB / 1.32 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001834/1.202, allocations: 1.108 MB / 1.321 GB, free: 10.89 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.006684/1.209, allocations: 3.303 MB / 1.324 GB, free: 7.586 MB / 1.045 GB Notification: Performance of Backend: time 8.11e-07/1.209, allocations: 0 / 1.324 GB, free: 7.586 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006914/1.216, allocations: 1.925 MB / 1.326 GB, free: 5.805 MB / 1.045 GB Notification: Performance of SimCode: time 0.01353/1.229, allocations: 7.037 MB / 1.333 GB, free: 14.71 MB / 1.061 GB Notification: Performance of Templates: time 0.07733/1.307, allocations: 36.82 MB / 1.369 GB, free: 10.06 MB / 1.092 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