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.001195/0.001195, allocations: 114.1 kB / 16.42 MB, free: 6.508 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.001171/0.001171, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.21 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.561/2.561, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.985/0.9866, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.01135/0.998, allocations: 8.887 MB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01039/1.008, allocations: 4.506 MB / 1.18 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/1.011, allocations: 47.81 kB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/1.014, allocations: 0.8239 MB / 1.181 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00274/1.017, allocations: 0.6441 MB / 1.182 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004157/1.021, allocations: 1.463 MB / 1.183 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005249/1.026, allocations: 3.435 MB / 1.187 GB, free: 4 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003434/1.03, allocations: 2.39 MB / 1.189 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/1.032, allocations: 1.241 MB / 1.19 GB, free: 12.31 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/1.033, allocations: 1.322 MB / 1.192 GB, free: 10.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004776/1.034, allocations: 343.9 kB / 1.192 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/1.035, allocations: 0.6168 MB / 1.192 GB, free: 10.03 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/1.036, allocations: 1.387 MB / 1.194 GB, free: 8.637 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001887/1.038, allocations: 2.039 MB / 1.196 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006561/1.044, allocations: 5.945 MB / 1.202 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.044, allocations: 4 kB / 1.202 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/1.044, allocations: 0 / 1.202 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001598/1.045, allocations: 4 kB / 1.202 GB, free: 0.6133 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.008259/1.053, allocations: 4.922 MB / 1.206 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.053, allocations: 11.97 kB / 1.206 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/1.056, allocations: 0.72 MB / 1.207 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/1.061, allocations: 2.995 MB / 1.21 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/1.061, allocations: 214.8 kB / 1.21 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/1.061, allocations: 228 kB / 1.21 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/1.066, allocations: 2.556 MB / 1.213 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/1.066, allocations: 7.922 kB / 1.213 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/1.066, allocations: 91.98 kB / 1.213 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/1.066, allocations: 52 kB / 1.213 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/1.07, allocations: 2.166 MB / 1.215 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/1.088, allocations: 10.38 MB / 1.225 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/1.092, allocations: 2.213 MB / 1.228 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/1.094, allocations: 0.9417 MB / 1.228 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/1.095, allocations: 282.2 kB / 1.229 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/1.097, allocations: 1.222 MB / 1.23 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=169): time 4.278e-06/1.097, allocations: 0 / 1.23 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=169): time 0.006333/1.103, allocations: 2.939 MB / 1.233 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002476/1.104, allocations: 422.8 kB / 1.233 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008332/1.112, allocations: 4.883 MB / 1.238 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004278/1.112, allocations: 105.7 kB / 1.238 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002008/1.114, allocations: 1.892 MB / 1.24 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007105/1.115, allocations: 488.2 kB / 1.24 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007162/1.116, allocations: 480.2 kB / 1.241 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.116, allocations: 305.1 kB / 1.241 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/1.118, allocations: 0.8749 MB / 1.242 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/1.12, allocations: 1.413 MB / 1.243 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/1.124, allocations: 2.055 MB / 1.245 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/1.124, allocations: 4 kB / 1.245 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.006104/1.13, allocations: 2.73 MB / 1.248 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/1.13, allocations: 45.69 kB / 1.248 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/1.13, allocations: 12.59 kB / 1.248 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.922e-05/1.13, allocations: 24 kB / 1.248 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/1.131, allocations: 335.3 kB / 1.248 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.969e-05/1.131, allocations: 35.86 kB / 1.248 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/1.134, allocations: 238.6 kB / 1.249 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/1.134, allocations: 91.98 kB / 1.249 GB, free: 14.94 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.002196/1.136, allocations: 1.147 MB / 1.25 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009089/1.137, allocations: 413.3 kB / 1.25 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/1.141, allocations: 2.321 MB / 1.253 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/1.141, allocations: 11.91 kB / 1.253 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.141, allocations: 4 kB / 1.253 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/1.143, allocations: 0.7789 MB / 1.253 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004421/1.143, allocations: 63.98 kB / 1.253 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/1.144, allocations: 83.86 kB / 1.253 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/1.145, allocations: 209 kB / 1.254 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004535/1.149, allocations: 3.031 MB / 1.257 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006511/1.156, allocations: 4.442 MB / 1.261 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001817/1.157, allocations: 1.104 MB / 1.262 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00546/1.163, allocations: 3.307 MB / 1.265 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of Backend: time 5.31e-07/1.163, allocations: 0 / 1.265 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006172/1.169, allocations: 1.923 MB / 1.267 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of SimCode: time 0.01094/1.18, allocations: 7.022 MB / 1.274 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of Templates: time 0.07828/1.258, allocations: 36.82 MB / 1.31 GB, free: 384 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