Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00152/0.00152, allocations: 113.2 kB / 16.42 MB, free: 6.516 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.001639/0.00164, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9225/0.9239, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.0113/0.9353, allocations: 8.882 MB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.9464, allocations: 4.509 MB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/0.9499, allocations: 41.88 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.9528, allocations: 0.8295 MB / 1.103 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.9556, allocations: 0.6424 MB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.9594, allocations: 1.455 MB / 1.105 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005028/0.9645, allocations: 3.437 MB / 1.108 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003929/0.9684, allocations: 2.39 MB / 1.11 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.9708, allocations: 1.243 MB / 1.112 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.9731, allocations: 1.31 MB / 1.113 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.9741, allocations: 338.2 kB / 1.113 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.9761, allocations: 0.623 MB / 1.114 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001932/0.978, allocations: 1.39 MB / 1.115 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004131/0.9822, allocations: 2.037 MB / 1.117 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.9923, allocations: 5.921 MB / 1.123 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.9924, allocations: 4.938 kB / 1.123 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9924, allocations: 0 / 1.123 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.00034/0.9927, allocations: 0 / 1.123 GB, free: 1.23 MB / 0.8731 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.01716/1.01, allocations: 4.758 MB / 1.128 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.01, allocations: 8.438 kB / 1.128 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/1.014, allocations: 0.7012 MB / 1.128 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007811/1.022, allocations: 2.956 MB / 1.131 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/1.022, allocations: 222.5 kB / 1.131 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007145/1.023, allocations: 229.4 kB / 1.132 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005493/1.029, allocations: 2.546 MB / 1.134 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/1.029, allocations: 2.219 kB / 1.134 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/1.029, allocations: 92.31 kB / 1.134 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/1.029, allocations: 56.22 kB / 1.134 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004475/1.034, allocations: 2.162 MB / 1.136 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/1.051, allocations: 10.47 MB / 1.146 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/1.055, allocations: 2.19 MB / 1.149 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/1.057, allocations: 0.9357 MB / 1.15 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007164/1.057, allocations: 272.8 kB / 1.15 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002106/1.059, allocations: 1.214 MB / 1.151 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=166): time 5.06e-06/1.059, allocations: 1.125 kB / 1.151 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=166): time 0.006681/1.066, allocations: 2.88 MB / 1.154 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000218/1.066, allocations: 426.6 kB / 1.154 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.076, allocations: 4.885 MB / 1.159 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006342/1.077, allocations: 106.4 kB / 1.159 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002042/1.079, allocations: 1.864 MB / 1.161 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007161/1.08, allocations: 468.1 kB / 1.161 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007372/1.081, allocations: 465.4 kB / 1.162 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.081, allocations: 305.1 kB / 1.162 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/1.082, allocations: 0.8719 MB / 1.163 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/1.085, allocations: 1.406 MB / 1.164 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/1.088, allocations: 2.038 MB / 1.166 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/1.088, allocations: 3.312 kB / 1.166 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.006188/1.094, allocations: 2.685 MB / 1.169 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/1.094, allocations: 46.28 kB / 1.169 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/1.094, allocations: 17.38 kB / 1.169 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-05/1.094, allocations: 23.38 kB / 1.169 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.096, allocations: 321.3 kB / 1.169 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.079e-05/1.096, allocations: 34.83 kB / 1.169 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/1.098, allocations: 236.8 kB / 1.17 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/1.098, allocations: 95.92 kB / 1.17 GB, free: 5.285 MB / 0.9044 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 (266): * Single equations (assignments): 265 * 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.002642/1.101, allocations: 1.142 MB / 1.171 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.103, allocations: 387.8 kB / 1.171 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005342/1.108, allocations: 2.307 MB / 1.173 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/1.108, allocations: 10.97 kB / 1.173 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.108, allocations: 2.219 kB / 1.173 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002545/1.111, allocations: 0.7515 MB / 1.174 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009275/1.111, allocations: 64.52 kB / 1.174 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.113, allocations: 78.23 kB / 1.174 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004801/1.113, allocations: 214.4 kB / 1.174 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0048/1.118, allocations: 2.993 MB / 1.177 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007579/1.126, allocations: 4.396 MB / 1.182 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001899/1.128, allocations: 1.1 MB / 1.183 GB, free: 12.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.007941/1.135, allocations: 3.303 MB / 1.186 GB, free: 9.121 MB / 0.92 GB Notification: Performance of Backend: time 5.81e-07/1.136, allocations: 0 / 1.186 GB, free: 9.121 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008269/1.144, allocations: 1.921 MB / 1.188 GB, free: 7.348 MB / 0.92 GB Notification: Performance of SimCode: time 0.01263/1.156, allocations: 6.892 MB / 1.195 GB, free: 412 kB / 0.92 GB Notification: Performance of Templates: time 0.07132/1.228, allocations: 36.62 MB / 1.23 GB, free: 11.97 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches