Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01369/0.0137, allocations: 89.86 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001834/0.001834, allocations: 172.3 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.308/2.308, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.342/2.342, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.003568/0.003568, allocations: 13.97 kB / 0.6243 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2548, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004468/0.2593, allocations: 2.481 MB / 0.7305 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003584/0.263, allocations: 1.511 MB / 0.732 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.2634, allocations: 11.94 kB / 0.732 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.2646, allocations: 286.9 kB / 0.7322 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006252/0.2653, allocations: 155.6 kB / 0.7324 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.2665, allocations: 287.4 kB / 0.7327 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.2678, allocations: 464.5 kB / 0.7331 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008208/0.2686, allocations: 381.9 kB / 0.7335 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.269, allocations: 219.1 kB / 0.7337 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.2694, allocations: 226.9 kB / 0.7339 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.891e-05/0.2695, allocations: 20 kB / 0.7339 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.2698, allocations: 59.92 kB / 0.734 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.2701, allocations: 159.5 kB / 0.7341 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.2703, allocations: 133.3 kB / 0.7343 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009047/0.2712, allocations: 0.5419 MB / 0.7348 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2712, allocations: 0 / 0.7348 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2712, allocations: 0 / 0.7348 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.2713, allocations: 0 / 0.7348 GB, free: 3.234 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001892/0.2732, allocations: 0.8848 MB / 0.7357 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.2732, allocations: 8.031 kB / 0.7357 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.2734, allocations: 102.5 kB / 0.7358 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.2736, allocations: 86.97 kB / 0.7358 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009552/0.2746, allocations: 464 kB / 0.7363 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.2747, allocations: 79 kB / 0.7364 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.2748, allocations: 56 kB / 0.7364 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.2763, allocations: 0.6051 MB / 0.737 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.2763, allocations: 4 kB / 0.737 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.2764, allocations: 23.95 kB / 0.737 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.2765, allocations: 16 kB / 0.737 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2776, allocations: 383.5 kB / 0.7374 GB, free: 376 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/0.2815, allocations: 2.576 MB / 0.7399 GB, free: 13.68 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.2825, allocations: 274.9 kB / 0.7402 GB, free: 13.4 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.2825, allocations: 4 kB / 0.7402 GB, free: 13.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005634/0.2831, allocations: 210.5 kB / 0.7404 GB, free: 13.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=40): time 3.587e-06/0.2831, allocations: 4 kB / 0.7404 GB, free: 13.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=40): time 0.001351/0.2845, allocations: 445.8 kB / 0.7408 GB, free: 12.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.2846, allocations: 85.11 kB / 0.7409 GB, free: 12.63 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.2857, allocations: 0.6247 MB / 0.7415 GB, free: 12 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.714e-05/0.2858, allocations: 45.7 kB / 0.7416 GB, free: 11.95 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.2862, allocations: 364.3 kB / 0.7419 GB, free: 11.59 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.2864, allocations: 106.7 kB / 0.742 GB, free: 11.48 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2865, allocations: 8 kB / 0.742 GB, free: 11.47 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.2867, allocations: 390.8 kB / 0.7424 GB, free: 11.08 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.2871, allocations: 129.2 kB / 0.7425 GB, free: 10.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.2877, allocations: 335.8 kB / 0.7428 GB, free: 10.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.2882, allocations: 148.8 kB / 0.743 GB, free: 10.39 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2882, allocations: 0 / 0.743 GB, free: 10.39 MB / 0.573 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001413/0.2897, allocations: 0.5266 MB / 0.7435 GB, free: 9.855 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.2897, allocations: 16.14 kB / 0.7435 GB, free: 9.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.2897, allocations: 11.94 kB / 0.7435 GB, free: 9.828 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.2898, allocations: 8 kB / 0.7435 GB, free: 9.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.2902, allocations: 75.78 kB / 0.7436 GB, free: 9.746 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.599e-05/0.2903, allocations: 15.98 kB / 0.7436 GB, free: 9.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.2907, allocations: 59.38 kB / 0.7437 GB, free: 9.672 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/0.2908, allocations: 32 kB / 0.7437 GB, free: 9.641 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005451/0.2913, allocations: 270.8 kB / 0.744 GB, free: 9.363 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.2915, allocations: 67.2 kB / 0.744 GB, free: 9.297 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.2927, allocations: 398.7 kB / 0.7444 GB, free: 8.902 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.2927, allocations: 4 kB / 0.7444 GB, free: 8.898 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.2927, allocations: 0 / 0.7444 GB, free: 8.898 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2927, allocations: 3.938 kB / 0.7444 GB, free: 8.895 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.2952, allocations: 1.043 MB / 0.7454 GB, free: 7.789 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.2952, allocations: 0 / 0.7454 GB, free: 7.789 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.2954, allocations: 23.92 kB / 0.7454 GB, free: 7.766 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.2955, allocations: 0 / 0.7454 GB, free: 7.766 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.2955, allocations: 15.98 kB / 0.7455 GB, free: 7.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.2955, allocations: 4 kB / 0.7455 GB, free: 7.746 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2955, allocations: 0 / 0.7455 GB, free: 7.746 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.2967, allocations: 474.5 kB / 0.7459 GB, free: 7.266 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.2969, allocations: 140.3 kB / 0.7461 GB, free: 7.109 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.297, allocations: 8 kB / 0.7461 GB, free: 7.102 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.2973, allocations: 19.98 kB / 0.7461 GB, free: 7.082 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.2975, allocations: 43.69 kB / 0.7461 GB, free: 7.039 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.2976, allocations: 19.98 kB / 0.7461 GB, free: 7.02 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007639/0.2984, allocations: 411 kB / 0.7465 GB, free: 6.621 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2984, allocations: 0 / 0.7465 GB, free: 6.621 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008384/0.2992, allocations: 147.5 kB / 0.7467 GB, free: 6.477 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002802/0.3021, allocations: 1.357 MB / 0.748 GB, free: 5.238 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.3034, allocations: 381.9 kB / 0.7484 GB, free: 4.867 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3034, allocations: 1.625 kB / 0.7484 GB, free: 4.867 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.3039, allocations: 171.7 kB / 0.7485 GB, free: 4.699 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.3047, allocations: 88.94 kB / 0.7486 GB, free: 4.617 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3148, allocations: 7.395 MB / 0.7558 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.3156, allocations: 0.9427 MB / 0.7568 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004797/0.3161, allocations: 80.36 kB / 0.7568 GB, free: 12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005485/0.3166, allocations: 259.3 kB / 0.7571 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of SimCode: time 1.222e-06/0.3166, allocations: 0 / 0.7571 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/0.3612, allocations: 11.42 MB / 0.7682 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/0.3616, allocations: 230.3 kB / 0.7685 GB, free: 268 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.228/3.59, allocations: 0 / 0.7685 GB, free: 268 kB / 0.5886 GB