Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.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.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001518/0.001518, allocations: 190.7 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.15 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.745/2.745, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.007685/1.043, allocations: 4.695 MB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006044/1.049, allocations: 3.107 MB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008441/1.05, allocations: 27.88 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/1.052, allocations: 0.6151 MB / 1.176 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/1.053, allocations: 405.6 kB / 1.176 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/1.056, allocations: 0.9385 MB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002558/1.058, allocations: 2.053 MB / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/1.06, allocations: 1.238 MB / 1.18 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000874/1.061, allocations: 0.7084 MB / 1.181 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007405/1.062, allocations: 0.7154 MB / 1.181 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/1.062, allocations: 184 kB / 1.182 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/1.062, allocations: 275.8 kB / 1.182 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005142/1.063, allocations: 0.5336 MB / 1.182 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008334/1.064, allocations: 0.8547 MB / 1.183 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002303/1.066, allocations: 2.384 MB / 1.186 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.066, allocations: 0 / 1.186 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/1.066, allocations: 0 / 1.186 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.789e-05/1.066, allocations: 0 / 1.186 GB, free: 1.055 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.003478/1.07, allocations: 2.102 MB / 1.188 GB, free: 14.86 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.07, allocations: 12.91 kB / 1.188 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/1.07, allocations: 206.5 kB / 1.188 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.072, allocations: 1.11 MB / 1.189 GB, free: 13.48 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/1.072, allocations: 148.7 kB / 1.189 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/1.072, allocations: 140 kB / 1.189 GB, free: 13.19 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/1.074, allocations: 1.405 MB / 1.191 GB, free: 11.65 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/1.074, allocations: 7.938 kB / 1.191 GB, free: 11.64 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.075, allocations: 51.98 kB / 1.191 GB, free: 11.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/1.075, allocations: 36 kB / 1.191 GB, free: 11.56 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/1.076, allocations: 0.9409 MB / 1.192 GB, free: 10.61 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006061/1.082, allocations: 5.617 MB / 1.197 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/1.084, allocations: 0.9203 MB / 1.198 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/1.085, allocations: 447.4 kB / 1.198 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.878e-05/1.085, allocations: 26.23 kB / 1.198 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/1.086, allocations: 0.6448 MB / 1.199 GB, free: 2.633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 2.925e-06/1.086, allocations: 0 / 1.199 GB, free: 2.633 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.002295/1.088, allocations: 1.241 MB / 1.2 GB, free: 1.387 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002947/1.088, allocations: 367.1 kB / 1.201 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/1.09, allocations: 1.427 MB / 1.202 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/1.09, allocations: 89.69 kB / 1.202 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/1.091, allocations: 0.7052 MB / 1.203 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/1.091, allocations: 272.6 kB / 1.203 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004175/1.092, allocations: 335.5 kB / 1.203 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.092, allocations: 305.1 kB / 1.204 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/1.093, allocations: 403.8 kB / 1.204 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/1.094, allocations: 0.7885 MB / 1.205 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/1.095, allocations: 0.9461 MB / 1.206 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/1.095, allocations: 12 kB / 1.206 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.002198/1.097, allocations: 1.296 MB / 1.207 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.097, allocations: 8 kB / 1.207 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.097, allocations: 11.98 kB / 1.207 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/1.097, allocations: 20 kB / 1.207 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/1.098, allocations: 175.6 kB / 1.207 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/1.098, allocations: 23.92 kB / 1.207 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/1.099, allocations: 134.8 kB / 1.207 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-05/1.099, allocations: 67.98 kB / 1.207 GB, free: 9.617 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 138 ($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.avaSig.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,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,stateGraphRoot.resume,stateGraphRoot.suspend,stateGraphRoot.activeSteps,powCon.cooDow.y,powCon.staBy.y,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.timer.entryTime,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.passed,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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * 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.00105/1.1, allocations: 0.5185 MB / 1.208 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/1.1, allocations: 154.1 kB / 1.208 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/1.102, allocations: 0.9848 MB / 1.209 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/1.102, allocations: 15.95 kB / 1.209 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.102, allocations: 0 / 1.209 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/1.102, allocations: 239 kB / 1.209 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/1.103, allocations: 39.92 kB / 1.209 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/1.103, allocations: 43.91 kB / 1.209 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/1.103, allocations: 148.8 kB / 1.21 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002115/1.105, allocations: 1.745 MB / 1.211 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002075/1.107, allocations: 1.859 MB / 1.213 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008025/1.108, allocations: 0.5231 MB / 1.214 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00135/1.11, allocations: 0.8884 MB / 1.214 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of Backend: time 6.92e-07/1.11, allocations: 0 / 1.214 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003794/1.113, allocations: 1.147 MB / 1.216 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004184/1.118, allocations: 2.917 MB / 1.218 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of Templates: time 0.03277/1.15, allocations: 16.7 MB / 1.235 GB, free: 13.83 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_PowerConsumption.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches