Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001591/0.001591, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.00155/0.00155, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.45/1.45, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 469.8 MB / 0.743 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002503, allocations: 69.14 kB / 0.9092 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4105, allocations: 159.1 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.005341/0.4159, allocations: 2.788 MB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003087/0.419, allocations: 1.673 MB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.4193, allocations: 8 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.4204, allocations: 314.9 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.4209, allocations: 182.9 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.4219, allocations: 368.9 kB / 1.07 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008765/0.4228, allocations: 0.7263 MB / 1.071 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006715/0.4235, allocations: 471.8 kB / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.4238, allocations: 271 kB / 1.071 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.4242, allocations: 286.6 kB / 1.072 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.665e-05/0.4243, allocations: 52 kB / 1.072 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.4246, allocations: 108 kB / 1.072 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.4248, allocations: 199.3 kB / 1.072 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.4251, allocations: 330 kB / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009231/0.4261, allocations: 0.7669 MB / 1.073 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4261, allocations: 3.938 kB / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4261, allocations: 0 / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4261, allocations: 4 kB / 1.073 GB, free: 6.211 MB / 0.8419 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.001712/0.4278, allocations: 1.039 MB / 1.074 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4279, allocations: 8.031 kB / 1.074 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.4281, allocations: 87.98 kB / 1.074 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.4288, allocations: 492.7 kB / 1.075 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.4288, allocations: 53.67 kB / 1.075 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-05/0.4289, allocations: 59.94 kB / 1.075 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.43, allocations: 0.6169 MB / 1.075 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.43, allocations: 0 / 1.075 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/0.4301, allocations: 27.98 kB / 1.075 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.4301, allocations: 12 kB / 1.075 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.4308, allocations: 379.6 kB / 1.076 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/0.4337, allocations: 2.584 MB / 1.078 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007382/0.4344, allocations: 382.7 kB / 1.079 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5556/0.99, allocations: 173.5 kB / 1.079 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.777e-05/0.9901, allocations: 8.078 kB / 1.079 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.9908, allocations: 284.6 kB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.845e-06/0.9908, allocations: 1.078 kB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.001136/0.992, allocations: 0.5038 MB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.992, allocations: 224.4 kB / 1.08 GB, free: 21.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009884/0.993, allocations: 0.6081 MB / 1.08 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.9931, allocations: 50.91 kB / 1.08 GB, free: 21.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.9934, allocations: 346.6 kB / 1.081 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.9936, allocations: 112.8 kB / 1.081 GB, free: 21.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.9938, allocations: 156.4 kB / 1.081 GB, free: 21.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.994, allocations: 379 kB / 1.081 GB, free: 21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.9943, allocations: 139 kB / 1.081 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.9946, allocations: 345.7 kB / 1.082 GB, free: 20.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.9952, allocations: 428.8 kB / 1.082 GB, free: 20.35 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.9952, allocations: 5.938 kB / 1.082 GB, free: 20.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008443/0.996, allocations: 0.537 MB / 1.083 GB, free: 20.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.9961, allocations: 10.09 kB / 1.083 GB, free: 20.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.9961, allocations: 6.281 kB / 1.083 GB, free: 20.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.9961, allocations: 8.719 kB / 1.083 GB, free: 20.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.9964, allocations: 84.17 kB / 1.083 GB, free: 20.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.9964, allocations: 10.11 kB / 1.083 GB, free: 20.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.9967, allocations: 59.77 kB / 1.083 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.9967, allocations: 32.2 kB / 1.083 GB, free: 20.05 MB / 0.8419 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.0003356/0.9971, allocations: 278.4 kB / 1.083 GB, free: 19.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.9972, allocations: 66.86 kB / 1.083 GB, free: 19.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/0.9979, allocations: 402.2 kB / 1.084 GB, free: 19.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.9979, allocations: 9.328 kB / 1.084 GB, free: 19.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.9979, allocations: 2.375 kB / 1.084 GB, free: 19.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.9979, allocations: 5.094 kB / 1.084 GB, free: 19.67 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.9994, allocations: 1.076 MB / 1.085 GB, free: 19.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.9995, allocations: 0.6875 kB / 1.085 GB, free: 19.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.9996, allocations: 26.58 kB / 1.085 GB, free: 19.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.9996, allocations: 2.891 kB / 1.085 GB, free: 19.06 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.9996, allocations: 17.98 kB / 1.085 GB, free: 19.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/0.9996, allocations: 7.969 kB / 1.085 GB, free: 19.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.9996, allocations: 1.406 kB / 1.085 GB, free: 19.05 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/1, allocations: 0.5361 MB / 1.085 GB, free: 18.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/1, allocations: 131.4 kB / 1.085 GB, free: 18.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/1.001, allocations: 17.59 kB / 1.085 GB, free: 18.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/1.001, allocations: 17.72 kB / 1.085 GB, free: 18.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.001, allocations: 48.77 kB / 1.085 GB, free: 18.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/1.001, allocations: 26.58 kB / 1.085 GB, free: 18.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004775/1.001, allocations: 398.2 kB / 1.086 GB, free: 18.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/1.001, allocations: 0.5625 kB / 1.086 GB, free: 18.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006699/1.002, allocations: 135.3 kB / 1.086 GB, free: 18.38 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.localActive,cooDow.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/1.004, allocations: 460.1 kB / 1.086 GB, free: 18.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009624/1.005, allocations: 440.6 kB / 1.087 GB, free: 18.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.005, allocations: 0.9688 kB / 1.087 GB, free: 18.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/1.005, allocations: 197.7 kB / 1.087 GB, free: 18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/1.006, allocations: 105 kB / 1.087 GB, free: 17.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/1.007, allocations: 1.199 MB / 1.088 GB, free: 17.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/1.008, allocations: 0.9325 MB / 1.089 GB, free: 16.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/1.008, allocations: 50.31 kB / 1.089 GB, free: 16.55 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/1.008, allocations: 0 / 1.089 GB, free: 16.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.01832/1.026, allocations: 7.812 MB / 1.097 GB, free: 15.34 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches