Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_9_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_9_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.001553/0.001553, allocations: 106.5 kB / 16.41 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.001692/0.001692, allocations: 192.3 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.384/1.384, 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 9.1.3-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 63.91 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.006273/1.013, allocations: 4.686 MB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00575/1.019, allocations: 3.088 MB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/1.02, allocations: 34.06 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/1.022, allocations: 0.6165 MB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/1.023, allocations: 413.6 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/1.026, allocations: 0.9334 MB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003024/1.029, allocations: 2.045 MB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/1.031, allocations: 1.236 MB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/1.032, allocations: 0.7077 MB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/1.033, allocations: 0.7149 MB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/1.034, allocations: 180.8 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007122/1.034, allocations: 267.6 kB / 1.103 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007634/1.035, allocations: 0.5313 MB / 1.104 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/1.036, allocations: 0.8569 MB / 1.105 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003657/1.04, allocations: 2.383 MB / 1.107 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.04, allocations: 0 / 1.107 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.026e-06/1.04, allocations: 0 / 1.107 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.223e-05/1.04, allocations: 4 kB / 1.107 GB, free: 10.58 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.00448/1.044, allocations: 2.108 MB / 1.109 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.045, allocations: 8.906 kB / 1.109 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/1.045, allocations: 205.8 kB / 1.109 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/1.047, allocations: 1.113 MB / 1.11 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/1.047, allocations: 148.4 kB / 1.11 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/1.048, allocations: 140.8 kB / 1.111 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/1.051, allocations: 1.41 MB / 1.112 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/1.051, allocations: 6.344 kB / 1.112 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/1.051, allocations: 52.98 kB / 1.112 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/1.051, allocations: 31.28 kB / 1.112 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/1.053, allocations: 0.9417 MB / 1.113 GB, free: 7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00981/1.063, allocations: 5.603 MB / 1.118 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/1.065, allocations: 0.9197 MB / 1.119 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/1.066, allocations: 448.2 kB / 1.12 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/1.066, allocations: 25.05 kB / 1.12 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/1.067, allocations: 0.6509 MB / 1.12 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=106): time 9.588e-06/1.067, allocations: 4 kB / 1.12 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106): time 0.003187/1.071, allocations: 1.232 MB / 1.122 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002382/1.071, allocations: 376.3 kB / 1.122 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/1.075, allocations: 1.427 MB / 1.123 GB, free: 364 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002756/1.075, allocations: 89.64 kB / 1.123 GB, free: 296 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.076, allocations: 0.7002 MB / 1.124 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004485/1.076, allocations: 274.8 kB / 1.124 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007926/1.077, allocations: 336.6 kB / 1.125 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.077, allocations: 306 kB / 1.125 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009891/1.078, allocations: 400.1 kB / 1.125 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/1.08, allocations: 0.7886 MB / 1.126 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/1.081, allocations: 0.9515 MB / 1.127 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.708e-05/1.081, allocations: 3.438 kB / 1.127 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003269/1.085, allocations: 1.288 MB / 1.128 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/1.085, allocations: 13.19 kB / 1.128 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/1.085, allocations: 10.34 kB / 1.128 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.352e-05/1.085, allocations: 17.84 kB / 1.128 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/1.086, allocations: 175.4 kB / 1.128 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.043e-05/1.086, allocations: 28.27 kB / 1.129 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.087, allocations: 140.7 kB / 1.129 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/1.087, allocations: 63.62 kB / 1.129 GB, free: 12.92 MB / 0.8887 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.001457/1.089, allocations: 0.5254 MB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/1.089, allocations: 146.3 kB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/1.092, allocations: 0.9811 MB / 1.13 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/1.092, allocations: 7.922 kB / 1.13 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.092, allocations: 2.25 kB / 1.13 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007139/1.093, allocations: 236.9 kB / 1.131 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005115/1.093, allocations: 42.5 kB / 1.131 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007229/1.094, allocations: 50.83 kB / 1.131 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000437/1.094, allocations: 143.4 kB / 1.131 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002758/1.097, allocations: 1.739 MB / 1.132 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002714/1.1, allocations: 1.864 MB / 1.134 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001087/1.101, allocations: 0.5209 MB / 1.135 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002482/1.103, allocations: 0.8897 MB / 1.136 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of Backend: time 1.002e-06/1.103, allocations: 4 kB / 1.136 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006142/1.109, allocations: 1.156 MB / 1.137 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of SimCode: time 0.008235/1.118, allocations: 2.895 MB / 1.14 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of Templates: time 0.04804/1.166, allocations: 16.68 MB / 1.156 GB, free: 1.176 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_PowerConsumption.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches