Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_10_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_10_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.001507/0.001507, allocations: 115.9 kB / 16.42 MB, free: 6.473 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.001574/0.001574, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.401/1.401, 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 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 59.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9906/0.9921, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.005584/0.9978, allocations: 2.786 MB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003034/1.001, allocations: 1.684 MB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/1.001, allocations: 4 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/1.002, allocations: 310.5 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004348/1.003, allocations: 187 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/1.004, allocations: 374.2 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007458/1.004, allocations: 0.7339 MB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000563/1.005, allocations: 471.2 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/1.005, allocations: 271 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/1.006, allocations: 282.7 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.869e-05/1.006, allocations: 56 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/1.006, allocations: 112 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/1.006, allocations: 211.3 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/1.006, allocations: 322 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000873/1.007, allocations: 0.8114 MB / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.007, allocations: 0 / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.784e-06/1.007, allocations: 0 / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.484e-05/1.007, allocations: 0 / 1.176 GB, free: 11.26 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001586/1.009, allocations: 1.035 MB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.009, allocations: 8.922 kB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/1.009, allocations: 91.89 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/1.01, allocations: 492.8 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/1.01, allocations: 49.69 kB / 1.177 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/1.01, allocations: 63.88 kB / 1.177 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009677/1.011, allocations: 0.6208 MB / 1.178 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.011, allocations: 3.938 kB / 1.178 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/1.011, allocations: 23.94 kB / 1.178 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/1.011, allocations: 12 kB / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006548/1.012, allocations: 379.6 kB / 1.178 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/1.014, allocations: 2.592 MB / 1.181 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/1.015, allocations: 374.5 kB / 1.181 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/1.015, allocations: 173 kB / 1.181 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/1.015, allocations: 8 kB / 1.181 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004675/1.016, allocations: 289.5 kB / 1.182 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.455e-06/1.016, allocations: 0 / 1.182 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.0009983/1.017, allocations: 0.4962 MB / 1.182 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/1.017, allocations: 225.5 kB / 1.182 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007033/1.018, allocations: 0.608 MB / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/1.018, allocations: 49.7 kB / 1.183 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/1.018, allocations: 353.2 kB / 1.183 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.018, allocations: 106.6 kB / 1.183 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.018, allocations: 158.2 kB / 1.184 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.019, allocations: 382.8 kB / 1.184 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/1.019, allocations: 133.2 kB / 1.184 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/1.019, allocations: 346.9 kB / 1.184 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/1.02, allocations: 437 kB / 1.185 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.02, allocations: 0 / 1.185 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008336/1.021, allocations: 0.542 MB / 1.185 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.021, allocations: 8 kB / 1.185 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.021, allocations: 4 kB / 1.185 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/1.021, allocations: 8 kB / 1.185 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/1.021, allocations: 79.77 kB / 1.186 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/1.021, allocations: 15.92 kB / 1.186 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/1.022, allocations: 59.78 kB / 1.186 GB, free: 496 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/1.022, allocations: 35.98 kB / 1.186 GB, free: 460 kB / 0.9044 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.0003437/1.022, allocations: 273.5 kB / 1.186 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/1.022, allocations: 67.23 kB / 1.186 GB, free: 108 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/1.023, allocations: 411.1 kB / 1.186 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/1.023, allocations: 7.984 kB / 1.186 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.023, allocations: 0 / 1.186 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.023, allocations: 140.2 kB / 1.186 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/1.023, allocations: 15.98 kB / 1.186 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.023, allocations: 16 kB / 1.186 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.023, allocations: 47.88 kB / 1.187 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008635/1.024, allocations: 0.864 MB / 1.187 GB, free: 14.58 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008534/1.025, allocations: 0.9521 MB / 1.188 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002881/1.025, allocations: 188.5 kB / 1.188 GB, free: 13.42 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004932/1.026, allocations: 398.8 kB / 1.189 GB, free: 13.03 MB / 0.92 GB Notification: Performance of Backend: time 1.173e-06/1.026, allocations: 3.938 kB / 1.189 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.029, allocations: 0.678 MB / 1.19 GB, free: 12.5 MB / 0.92 GB Notification: Performance of SimCode: time 0.002386/1.031, allocations: 1.52 MB / 1.191 GB, free: 10.94 MB / 0.92 GB Notification: Performance of Templates: time 0.01297/1.044, allocations: 5.992 MB / 1.197 GB, free: 5.008 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches