Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",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.01422/0.01422, allocations: 88.73 kB / 15.04 MB, free: 5.578 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.00116/0.00116, allocations: 172.6 kB / 15.92 MB, free: 5.551 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.063/2.063, allocations: 205.5 MB / 222.2 MB, free: 13.72 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.548/2.548, allocations: 252.9 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004597, allocations: 13.25 kB / 0.6243 GB, free: 28.36 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.227, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.00423/0.2313, allocations: 1.823 MB / 0.7299 GB, free: 8.32 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.2343, allocations: 0.9169 MB / 0.7307 GB, free: 7.398 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.2346, allocations: 11.94 kB / 0.7308 GB, free: 7.387 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.2348, allocations: 39.66 kB / 0.7308 GB, free: 7.348 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.2351, allocations: 55.77 kB / 0.7309 GB, free: 7.293 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.2359, allocations: 155.8 kB / 0.731 GB, free: 7.141 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0009168/0.2369, allocations: 375.8 kB / 0.7314 GB, free: 6.773 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007966/0.2377, allocations: 313.5 kB / 0.7317 GB, free: 6.461 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.2381, allocations: 159.4 kB / 0.7318 GB, free: 6.305 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.2385, allocations: 171.2 kB / 0.732 GB, free: 6.137 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 9.309e-05/0.2386, allocations: 24 kB / 0.732 GB, free: 6.113 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.2388, allocations: 43.86 kB / 0.732 GB, free: 6.07 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.239, allocations: 91.66 kB / 0.7321 GB, free: 5.98 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2392, allocations: 97.52 kB / 0.7322 GB, free: 5.879 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.2402, allocations: 0.4912 MB / 0.7327 GB, free: 5.387 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2402, allocations: 0 / 0.7327 GB, free: 5.387 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2402, allocations: 0 / 0.7327 GB, free: 5.387 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2402, allocations: 4 kB / 0.7327 GB, free: 5.383 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002175/0.2424, allocations: 0.6678 MB / 0.7334 GB, free: 4.66 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.2425, allocations: 8.031 kB / 0.7334 GB, free: 4.652 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002127/0.2427, allocations: 94.41 kB / 0.7335 GB, free: 4.551 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.2429, allocations: 47.44 kB / 0.7335 GB, free: 4.504 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.2438, allocations: 331.4 kB / 0.7338 GB, free: 4.141 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.583e-05/0.2439, allocations: 45 kB / 0.7339 GB, free: 4.098 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.2441, allocations: 55.94 kB / 0.7339 GB, free: 4.043 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.2462, allocations: 0.5215 MB / 0.7344 GB, free: 3.504 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.2463, allocations: 0 / 0.7344 GB, free: 3.504 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.2464, allocations: 20 kB / 0.7344 GB, free: 3.484 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/0.2464, allocations: 20.95 kB / 0.7345 GB, free: 3.465 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.2485, allocations: 455.7 kB / 0.7349 GB, free: 3.02 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/0.2534, allocations: 1.418 MB / 0.7363 GB, free: 1.547 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.2553, allocations: 412.6 kB / 0.7367 GB, free: 1.141 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 8.908e-05/0.2554, allocations: 8.438 kB / 0.7367 GB, free: 1.133 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/0.2566, allocations: 277.2 kB / 0.7369 GB, free: 0.8477 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=52): time 9.738e-06/0.2566, allocations: 0 / 0.7369 GB, free: 0.8477 MB / 0.5574 GB Notification: Performance of matching and sorting (n=52): time 0.00279/0.2594, allocations: 0.5611 MB / 0.7375 GB, free: 288 kB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.2595, allocations: 59.84 kB / 0.7375 GB, free: 216 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.26, allocations: 272.6 kB / 0.7378 GB, free: 15.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.2601, allocations: 53.69 kB / 0.7379 GB, free: 15.88 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.2603, allocations: 197.1 kB / 0.738 GB, free: 15.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.2606, allocations: 138.3 kB / 0.7382 GB, free: 15.54 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.2606, allocations: 12 kB / 0.7382 GB, free: 15.53 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.2608, allocations: 350.8 kB / 0.7385 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/0.2616, allocations: 189.2 kB / 0.7387 GB, free: 14.99 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/0.2624, allocations: 270 kB / 0.739 GB, free: 14.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/0.2632, allocations: 212.9 kB / 0.7392 GB, free: 14.49 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.2632, allocations: 0 / 0.7392 GB, free: 14.49 MB / 0.573 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001816/0.265, allocations: 0.5728 MB / 0.7397 GB, free: 13.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.2651, allocations: 33.7 kB / 0.7398 GB, free: 13.86 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2652, allocations: 7.953 kB / 0.7398 GB, free: 13.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.2652, allocations: 4 kB / 0.7398 GB, free: 13.85 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.2657, allocations: 71.83 kB / 0.7398 GB, free: 13.78 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.2658, allocations: 4 kB / 0.7398 GB, free: 13.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.2665, allocations: 107.4 kB / 0.7399 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.2666, allocations: 27.98 kB / 0.74 GB, free: 13.64 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.condition,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.condition,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.condition,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * 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.0004366/0.267, allocations: 229.6 kB / 0.7402 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.2671, allocations: 31.62 kB / 0.7402 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.2687, allocations: 0.4951 MB / 0.7407 GB, free: 12.88 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.2688, allocations: 7.953 kB / 0.7407 GB, free: 12.87 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2688, allocations: 0 / 0.7407 GB, free: 12.87 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.2688, allocations: 4 kB / 0.7407 GB, free: 12.87 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.2718, allocations: 1.133 MB / 0.7418 GB, free: 11.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2718, allocations: 3.938 kB / 0.7418 GB, free: 11.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.2722, allocations: 51.91 kB / 0.7419 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.2722, allocations: 4 kB / 0.7419 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.2723, allocations: 8 kB / 0.7419 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/0.2723, allocations: 4 kB / 0.7419 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2723, allocations: 0 / 0.7419 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.2738, allocations: 0.5423 MB / 0.7424 GB, free: 11.05 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2739, allocations: 124.5 kB / 0.7425 GB, free: 10.91 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.274, allocations: 12 kB / 0.7425 GB, free: 10.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.2746, allocations: 51.95 kB / 0.7426 GB, free: 10.85 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.2749, allocations: 72.45 kB / 0.7427 GB, free: 10.78 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/0.2749, allocations: 19.98 kB / 0.7427 GB, free: 10.76 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002376/0.2752, allocations: 168.4 kB / 0.7428 GB, free: 10.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2752, allocations: 0 / 0.7428 GB, free: 10.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006738/0.2759, allocations: 111.7 kB / 0.743 GB, free: 10.49 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: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.condition,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.condition,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.00203/0.2779, allocations: 1.123 MB / 0.7441 GB, free: 9.34 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.2797, allocations: 0.5307 MB / 0.7446 GB, free: 8.797 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.2798, allocations: 0 / 0.7446 GB, free: 8.797 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008202/0.2806, allocations: 251.5 kB / 0.7448 GB, free: 8.551 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.2812, allocations: 56.27 kB / 0.7449 GB, free: 8.496 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/0.288, allocations: 3.221 MB / 0.748 GB, free: 5.199 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.2886, allocations: 0.8244 MB / 0.7488 GB, free: 4.352 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003934/0.289, allocations: 63.38 kB / 0.7489 GB, free: 4.289 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/0.2894, allocations: 143.4 kB / 0.749 GB, free: 4.148 MB / 0.573 GB Notification: Performance of SimCode: time 1.693e-06/0.2894, allocations: 0 / 0.749 GB, free: 4.148 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04639/0.3358, allocations: 7.971 MB / 0.7568 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000348/0.3362, allocations: 222.1 kB / 0.757 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/3.282, allocations: 0 / 0.757 GB, free: 12.09 MB / 0.5886 GB