Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01252/0.01252, allocations: 223.5 kB / 15.17 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001165/0.001165, allocations: 175.9 kB / 16.06 MB, free: 5.875 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.195/4.195, allocations: 389 MB / 405.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.584/4.584, allocations: 472.3 MB / 0.9017 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005074, allocations: 11.94 kB / 1.008 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7393, allocations: 98.71 MB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003661/0.743, allocations: 2.273 MB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.7455, allocations: 0.9965 MB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.7459, allocations: 14.38 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.7461, allocations: 34.91 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.7465, allocations: 101 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.7476, allocations: 256.8 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.7482, allocations: 387.8 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.7485, allocations: 131 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.7489, allocations: 120.7 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.7491, allocations: 126 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.7492, allocations: 8.844 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.7494, allocations: 64.2 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.7495, allocations: 41.08 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.803e-05/0.7496, allocations: 89.44 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.7502, allocations: 369.2 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7502, allocations: 0 / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7502, allocations: 1.188 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.7502, allocations: 2.938 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001473/0.7517, allocations: 0.6492 MB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.7518, allocations: 9.281 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.751e-05/0.7519, allocations: 69.16 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.752, allocations: 44.55 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007414/0.7528, allocations: 363.8 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.7528, allocations: 27.75 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.7529, allocations: 22.3 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.7538, allocations: 314 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.7538, allocations: 2.953 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.7539, allocations: 10.75 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.7539, allocations: 9.422 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.7547, allocations: 210.3 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.7565, allocations: 1.039 MB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/0.7574, allocations: 226.7 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.7578, allocations: 111.7 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.7579, allocations: 2.875 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005468/0.7584, allocations: 164.8 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 2.715e-06/0.7584, allocations: 0 / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.001348/0.7598, allocations: 366.7 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.7599, allocations: 59.16 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.7604, allocations: 344.8 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.7605, allocations: 30.7 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.7607, allocations: 203 kB / 1.113 GB, free: 207 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.7608, allocations: 68.66 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.7608, allocations: 5 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.761, allocations: 345.8 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.7613, allocations: 83.64 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.7617, allocations: 134.5 kB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.7621, allocations: 122.4 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.7621, allocations: 2.969 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009563/0.763, allocations: 327.6 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-05/0.7632, allocations: 154.2 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7632, allocations: 2.844 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.7632, allocations: 3 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.7636, allocations: 40.19 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.7636, allocations: 2.922 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.7639, allocations: 41.28 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.764, allocations: 9.047 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.764, allocations: 3.812 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007486/0.7648, allocations: 265.7 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7648, allocations: 1.219 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.7648, allocations: 6.188 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.7651, allocations: 38.81 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.7651, allocations: 10.05 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.7654, allocations: 25.77 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.7655, allocations: 10.03 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0002847/0.7658, allocations: 237.1 kB / 1.115 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.7659, allocations: 36.83 kB / 1.115 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.483e-05/0.766, allocations: 38.81 kB / 1.115 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.766, allocations: 6.531 kB / 1.115 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.766, allocations: 5.234 kB / 1.115 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.766, allocations: 0 / 1.115 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.7665, allocations: 379 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7665, allocations: 1.406 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.7669, allocations: 32.23 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.7669, allocations: 1.531 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.7669, allocations: 7.281 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7669, allocations: 5.062 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.767, allocations: 0 / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.7683, allocations: 428.4 kB / 1.116 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.7684, allocations: 134.2 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.7685, allocations: 7.25 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.7688, allocations: 12.67 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.7689, allocations: 22.5 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.769, allocations: 11.53 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003887/0.7694, allocations: 247.1 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7694, allocations: 0 / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006898/0.7701, allocations: 118 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.nextTime,cooMod.index) * Number of discrete states: 2 (cooMod.nextTime,cooMod.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001694/0.7718, allocations: 1.001 MB / 1.117 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.7731, allocations: 454 kB / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.7731, allocations: 1.094 kB / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.7735, allocations: 114.8 kB / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007773/0.7743, allocations: 79.64 kB / 1.118 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.7794, allocations: 1.934 MB / 1.12 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.7798, allocations: 0.7931 MB / 1.121 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003289/0.7801, allocations: 38 kB / 1.121 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.7804, allocations: 110.9 kB / 1.121 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/0.7804, allocations: 3.375 kB / 1.121 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.8172, allocations: 6.611 MB / 1.127 GB, free: 202 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/0.8175, allocations: 239 kB / 1.127 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/3.891, allocations: 0 / 1.127 GB, free: 201.8 MB / 0.7292 GB