Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, 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.001841/0.001841, 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.489/1.489, 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 11.0.1-master/package.mo): time 2.767/2.767, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 60.31 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.96/0.9614, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.005357/0.9668, allocations: 2.786 MB / 1.224 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003465/0.9703, allocations: 1.677 MB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005507/0.9709, allocations: 11.94 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.9722, allocations: 302.7 kB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007382/0.973, allocations: 190.9 kB / 1.226 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.9742, allocations: 374.6 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.9754, allocations: 0.7339 MB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000923/0.9763, allocations: 475.2 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.9768, allocations: 267 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.9774, allocations: 294.6 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.9775, allocations: 52 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.9779, allocations: 111.9 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.9782, allocations: 199.4 kB / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.9787, allocations: 322 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.9798, allocations: 0.8114 MB / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.9799, allocations: 0 / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.947e-06/0.9799, allocations: 3.984 kB / 1.229 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.219e-05/0.9799, allocations: 0 / 1.229 GB, free: 9.738 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002128/0.9821, allocations: 1.031 MB / 1.23 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.9821, allocations: 8.625 kB / 1.23 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.9823, allocations: 91.89 kB / 1.23 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/0.9832, allocations: 0.4928 MB / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.9832, allocations: 45.69 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.9833, allocations: 63.88 kB / 1.231 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.9844, allocations: 0.6169 MB / 1.232 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.9845, allocations: 4 kB / 1.232 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.9845, allocations: 20 kB / 1.232 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.9845, allocations: 16 kB / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007243/0.9853, allocations: 379.5 kB / 1.232 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.9885, allocations: 2.584 MB / 1.234 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/0.9892, allocations: 376 kB / 1.235 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.9895, allocations: 169.7 kB / 1.235 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.9895, allocations: 19.8 kB / 1.235 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004657/0.99, allocations: 281.5 kB / 1.235 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.996e-06/0.99, allocations: 4 kB / 1.235 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.001011/0.991, allocations: 0.4991 MB / 1.236 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.9911, allocations: 225.5 kB / 1.236 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.9919, allocations: 0.608 MB / 1.237 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.992, allocations: 46.33 kB / 1.237 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.9922, allocations: 356.5 kB / 1.237 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.9924, allocations: 110.6 kB / 1.237 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.9926, allocations: 154.2 kB / 1.237 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.9927, allocations: 378.8 kB / 1.238 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.993, allocations: 137.2 kB / 1.238 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.9934, allocations: 342.9 kB / 1.238 GB, free: 200 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/0.9941, allocations: 437 kB / 1.238 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.9941, allocations: 7.938 kB / 1.238 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008928/0.995, allocations: 0.534 MB / 1.239 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.995, allocations: 8 kB / 1.239 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.995, allocations: 8 kB / 1.239 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.9951, allocations: 8 kB / 1.239 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.9953, allocations: 80.39 kB / 1.239 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/0.9953, allocations: 12 kB / 1.239 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.9956, allocations: 63.36 kB / 1.239 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.9957, allocations: 36 kB / 1.239 GB, free: 14.93 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition2.t_start,$PRE.transition2.t_start,transition1.t_start,$PRE.transition1.t_start,transition4.t_start,$PRE.transition4.t_start,transition3.t_start,$PRE.transition3.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0003369/0.9961, allocations: 273.5 kB / 1.239 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.9962, allocations: 63.23 kB / 1.24 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.9969, allocations: 407.2 kB / 1.24 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.9969, allocations: 7.984 kB / 1.24 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.9969, allocations: 4 kB / 1.24 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.997, allocations: 136.1 kB / 1.24 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.9971, allocations: 19.98 kB / 1.24 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.9973, allocations: 12 kB / 1.24 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.9974, allocations: 51.89 kB / 1.24 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009279/0.9983, allocations: 0.8605 MB / 1.241 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000841/0.9992, allocations: 0.956 MB / 1.242 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003076/0.9995, allocations: 188.2 kB / 1.242 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004483/1, allocations: 394.8 kB / 1.242 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of Backend: time 1.032e-06/1, allocations: 0 / 1.242 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00235/1.002, allocations: 0.687 MB / 1.243 GB, free: 11 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002214/1.005, allocations: 1.525 MB / 1.245 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of Templates: time 0.01397/1.019, allocations: 5.993 MB / 1.25 GB, free: 3.477 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches