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.CoolingTowerSpeed.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.CoolingTowerSpeed,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.009819/0.009825, allocations: 88.48 kB / 15.04 MB, free: 6.055 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.00118/0.00118, allocations: 168.7 kB / 15.92 MB, free: 5.992 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.278/2.278, 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.419/2.419, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004826, allocations: 11.5 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.251, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004856/0.2559, allocations: 2.519 MB / 0.7305 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003662/0.2596, allocations: 1.315 MB / 0.7318 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.26, allocations: 11.94 kB / 0.7318 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.2604, allocations: 59.61 kB / 0.7319 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.2611, allocations: 159.4 kB / 0.732 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2625, allocations: 303.4 kB / 0.7323 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008659/0.2634, allocations: 332 kB / 0.7326 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.2638, allocations: 144.3 kB / 0.7328 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.2641, allocations: 155.3 kB / 0.7329 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.2645, allocations: 155 kB / 0.7331 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.2645, allocations: 12 kB / 0.7331 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.2648, allocations: 43.98 kB / 0.7331 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.2649, allocations: 71.61 kB / 0.7332 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.265, allocations: 93.45 kB / 0.7333 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007432/0.2658, allocations: 463.1 kB / 0.7337 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2658, allocations: 0 / 0.7337 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2658, allocations: 0 / 0.7337 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.2659, allocations: 0 / 0.7337 GB, free: 4.344 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00174/0.2676, allocations: 0.7336 MB / 0.7344 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.2677, allocations: 8.031 kB / 0.7345 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.2678, allocations: 62.55 kB / 0.7345 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2679, allocations: 55.33 kB / 0.7346 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.2689, allocations: 425.4 kB / 0.735 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.269, allocations: 24.56 kB / 0.735 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/0.2691, allocations: 27.98 kB / 0.735 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2701, allocations: 323.9 kB / 0.7353 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.2701, allocations: 4 kB / 0.7353 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.2702, allocations: 11.95 kB / 0.7353 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.2702, allocations: 8 kB / 0.7354 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008789/0.2711, allocations: 226 kB / 0.7356 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.2734, allocations: 1.104 MB / 0.7366 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2744, allocations: 243.5 kB / 0.7369 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.2745, allocations: 4.188 kB / 0.7369 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005959/0.2751, allocations: 159.5 kB / 0.737 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 3.657e-06/0.2751, allocations: 0 / 0.737 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.001459/0.2766, allocations: 358.1 kB / 0.7374 GB, free: 392 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.2767, allocations: 114.8 kB / 0.7375 GB, free: 252 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008735/0.2776, allocations: 457.8 kB / 0.7379 GB, free: 15.79 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.2777, allocations: 29.7 kB / 0.738 GB, free: 15.75 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.278, allocations: 240.4 kB / 0.7382 GB, free: 15.52 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.2781, allocations: 74.98 kB / 0.7383 GB, free: 15.44 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.2781, allocations: 4 kB / 0.7383 GB, free: 15.44 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.2783, allocations: 350.8 kB / 0.7386 GB, free: 15.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.2788, allocations: 91.95 kB / 0.7387 GB, free: 15 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.2792, allocations: 155.7 kB / 0.7388 GB, free: 14.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.2797, allocations: 110.6 kB / 0.7389 GB, free: 14.71 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.2797, allocations: 0 / 0.7389 GB, free: 14.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001085/0.2808, allocations: 304.8 kB / 0.7392 GB, free: 14.41 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.2808, allocations: 4 kB / 0.7392 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2809, allocations: 0 / 0.7392 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.2809, allocations: 15.88 kB / 0.7392 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.2814, allocations: 60.06 kB / 0.7393 GB, free: 14.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.2814, allocations: 7.984 kB / 0.7393 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.2818, allocations: 35.67 kB / 0.7393 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.2818, allocations: 8 kB / 0.7393 GB, free: 14.28 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,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 (30): * Single equations (assignments): 30 * 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.0003401/0.2822, allocations: 181.8 kB / 0.7395 GB, free: 14.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.2823, allocations: 43.44 kB / 0.7396 GB, free: 14.05 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.2824, allocations: 47.92 kB / 0.7396 GB, free: 14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.2824, allocations: 7.984 kB / 0.7396 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.2825, allocations: 3.953 kB / 0.7396 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.2825, allocations: 0 / 0.7396 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.2831, allocations: 413.3 kB / 0.74 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2831, allocations: 0 / 0.74 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.2835, allocations: 35.97 kB / 0.74 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.2836, allocations: 3.938 kB / 0.7401 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.2836, allocations: 8 kB / 0.7401 GB, free: 13.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2836, allocations: 4 kB / 0.7401 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.2836, allocations: 3.984 kB / 0.7401 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.2852, allocations: 429.9 kB / 0.7405 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.2854, allocations: 148.5 kB / 0.7406 GB, free: 12.88 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.21e-05/0.2855, allocations: 8 kB / 0.7406 GB, free: 12.87 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.2858, allocations: 15.98 kB / 0.7406 GB, free: 12.86 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.286, allocations: 19.97 kB / 0.7407 GB, free: 12.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.286, allocations: 4 kB / 0.7407 GB, free: 12.83 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006133/0.2866, allocations: 327.1 kB / 0.741 GB, free: 12.51 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2867, allocations: 4.062 kB / 0.741 GB, free: 12.51 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005338/0.2872, allocations: 79.77 kB / 0.7411 GB, free: 12.43 MB / 0.573 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.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003149/0.2904, allocations: 1.301 MB / 0.7423 GB, free: 11.25 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.2914, allocations: 234.1 kB / 0.7425 GB, free: 11.03 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2914, allocations: 0 / 0.7425 GB, free: 11.03 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.2919, allocations: 115.9 kB / 0.7427 GB, free: 10.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009062/0.2928, allocations: 110 kB / 0.7428 GB, free: 10.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/0.2996, allocations: 3.061 MB / 0.7458 GB, free: 7.676 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.3001, allocations: 0.8229 MB / 0.7466 GB, free: 6.828 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004041/0.3006, allocations: 59.25 kB / 0.7466 GB, free: 6.773 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.3009, allocations: 151.4 kB / 0.7468 GB, free: 6.625 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/0.301, allocations: 0 / 0.7468 GB, free: 6.625 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04029/0.3413, allocations: 8.634 MB / 0.7552 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004187/0.3418, allocations: 281.1 kB / 0.7555 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.105, allocations: 0 / 0.7555 GB, free: 13.79 MB / 0.5886 GB