Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_latest_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_latest_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.001522/0.001522, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001793/0.001793, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.525/1.525, 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 11.0.1-master/package.mo): time 3.001/3.001, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 55.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9255, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.007291/0.9328, allocations: 4.684 MB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005791/0.9386, allocations: 3.11 MB / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.9398, allocations: 27.88 kB / 1.216 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.9419, allocations: 0.61 MB / 1.217 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.9434, allocations: 393.2 kB / 1.217 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.9459, allocations: 0.9462 MB / 1.218 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002365/0.9483, allocations: 2.049 MB / 1.22 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.9498, allocations: 1.238 MB / 1.221 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008013/0.9506, allocations: 0.7045 MB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.9513, allocations: 0.7193 MB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.9516, allocations: 180 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.952, allocations: 271.9 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004523/0.9525, allocations: 0.5296 MB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007278/0.9532, allocations: 0.8625 MB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.9556, allocations: 2.384 MB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.9556, allocations: 4 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.396e-06/0.9556, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.056e-05/0.9556, allocations: 3.938 kB / 1.227 GB, free: 10.89 MB / 0.9512 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.003212/0.9588, allocations: 2.106 MB / 1.229 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9589, allocations: 12.03 kB / 1.229 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.9592, allocations: 202.5 kB / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.9609, allocations: 1.106 MB / 1.23 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.9611, allocations: 148.7 kB / 1.23 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.9612, allocations: 140 kB / 1.23 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.9634, allocations: 1.405 MB / 1.232 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.9635, allocations: 7.938 kB / 1.232 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.9636, allocations: 51.98 kB / 1.232 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.9636, allocations: 32 kB / 1.232 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.9653, allocations: 0.9449 MB / 1.233 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006355/0.9717, allocations: 5.61 MB / 1.238 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.9732, allocations: 0.9198 MB / 1.239 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.9739, allocations: 447.4 kB / 1.24 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.974, allocations: 22.17 kB / 1.24 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.9751, allocations: 0.6526 MB / 1.24 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=106): time 3.617e-06/0.9751, allocations: 0 / 1.24 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=106): time 0.002576/0.9777, allocations: 1.237 MB / 1.241 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002243/0.978, allocations: 371.2 kB / 1.242 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.9799, allocations: 1.427 MB / 1.243 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.9801, allocations: 89.69 kB / 1.243 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/0.9808, allocations: 0.7088 MB / 1.244 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.981, allocations: 268.6 kB / 1.244 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004471/0.9815, allocations: 339.4 kB / 1.244 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.9816, allocations: 305.1 kB / 1.245 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007359/0.9824, allocations: 399.8 kB / 1.245 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/0.9834, allocations: 0.7885 MB / 1.246 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.9849, allocations: 0.9539 MB / 1.247 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.9849, allocations: 4 kB / 1.247 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00254/0.9874, allocations: 1.288 MB / 1.248 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.9875, allocations: 13.88 kB / 1.248 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.9875, allocations: 8 kB / 1.248 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.139e-05/0.9876, allocations: 20.78 kB / 1.248 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.9881, allocations: 179.6 kB / 1.248 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.603e-05/0.9882, allocations: 23.92 kB / 1.248 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.989, allocations: 134.8 kB / 1.248 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.9892, allocations: 67.98 kB / 1.249 GB, free: 3.469 MB / 0.9669 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.0009691/0.9902, allocations: 0.5232 MB / 1.249 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/0.9905, allocations: 150.1 kB / 1.249 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.9924, allocations: 0.9849 MB / 1.25 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.9924, allocations: 7.984 kB / 1.25 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.9924, allocations: 0 / 1.25 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/0.9928, allocations: 239 kB / 1.25 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.9931, allocations: 51.86 kB / 1.25 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.9936, allocations: 43.95 kB / 1.25 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/0.9939, allocations: 140.8 kB / 1.251 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002232/0.9962, allocations: 1.749 MB / 1.252 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002104/0.9983, allocations: 1.855 MB / 1.254 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009218/0.9992, allocations: 0.5231 MB / 1.255 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001389/1.001, allocations: 0.8924 MB / 1.256 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of Backend: time 1.032e-06/1.001, allocations: 0 / 1.256 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003726/1.004, allocations: 1.142 MB / 1.257 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of SimCode: time 0.004293/1.009, allocations: 2.911 MB / 1.259 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of Templates: time 0.03136/1.04, allocations: 16.69 MB / 1.276 GB, free: 7.727 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_PowerConsumption.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches