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.CoolingMode.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.367/4.367, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.331e-05, allocations: 4.156 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2432, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.4767, allocations: 127.8 MB / 0.7537 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/0.4771, allocations: 87.94 kB / 0.7538 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02915/0.5063, allocations: 7.133 MB / 0.7607 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5063, allocations: 0 / 0.7607 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.53e-05/0.5064, allocations: 12 kB / 0.7607 GB, free: 1.91 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001482/0.5079, allocations: 0.6417 MB / 0.7614 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.508, allocations: 12.03 kB / 0.7614 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.5081, allocations: 51.48 kB / 0.7614 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.5087, allocations: 342.3 kB / 0.7617 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.5088, allocations: 19.94 kB / 0.7618 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5089, allocations: 31.98 kB / 0.7618 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/0.51, allocations: 386.5 kB / 0.7622 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5112, allocations: 436.2 kB / 0.7626 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.5112, allocations: 0 / 0.7626 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.5113, allocations: 4 kB / 0.7626 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.5114, allocations: 25.27 kB / 0.7626 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.5145, allocations: 1.278 MB / 0.7639 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.5154, allocations: 350.8 kB / 0.7642 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.5158, allocations: 171 kB / 0.7644 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.175e-05/0.5159, allocations: 12.44 kB / 0.7644 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/0.5165, allocations: 226.5 kB / 0.7646 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.246e-06/0.5165, allocations: 4 kB / 0.7646 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.00096/0.5175, allocations: 335.7 kB / 0.7649 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.5175, allocations: 59.84 kB / 0.765 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.5178, allocations: 226.6 kB / 0.7652 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.507e-05/0.5179, allocations: 41.69 kB / 0.7652 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.5181, allocations: 185.2 kB / 0.7654 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.5183, allocations: 122.4 kB / 0.7655 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.5184, allocations: 0 / 0.7655 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5185, allocations: 350.7 kB / 0.7658 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.519, allocations: 157.5 kB / 0.766 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.5195, allocations: 229.9 kB / 0.7662 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.5199, allocations: 152.5 kB / 0.7664 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5199, allocations: 0 / 0.7664 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001189/0.5211, allocations: 451.8 kB / 0.7668 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.5212, allocations: 37.69 kB / 0.7668 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5212, allocations: 0 / 0.7668 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.5213, allocations: 12 kB / 0.7668 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.5218, allocations: 79.98 kB / 0.7669 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5218, allocations: 4 kB / 0.7669 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.5225, allocations: 71.69 kB / 0.767 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.5226, allocations: 31.95 kB / 0.767 GB, free: 11.21 MB / 0.6511 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.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$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.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,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 () * 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.0002244/0.5228, allocations: 148.8 kB / 0.7672 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000848/0.5237, allocations: 331.7 kB / 0.7675 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.5238, allocations: 31.7 kB / 0.7675 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.5249, allocations: 418.7 kB / 0.7679 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.525, allocations: 8 kB / 0.7679 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.525, allocations: 3.953 kB / 0.7679 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.525, allocations: 3.984 kB / 0.7679 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.5273, allocations: 0.9578 MB / 0.7689 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.5273, allocations: 4 kB / 0.7689 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.5277, allocations: 51.86 kB / 0.7689 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.5277, allocations: 7.938 kB / 0.7689 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.5278, allocations: 3.984 kB / 0.7689 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.5278, allocations: 4 kB / 0.7689 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5278, allocations: 0 / 0.7689 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.5288, allocations: 483.3 kB / 0.7694 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.5289, allocations: 104.7 kB / 0.7695 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.529, allocations: 11.94 kB / 0.7695 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.5295, allocations: 43.95 kB / 0.7695 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.5298, allocations: 72.45 kB / 0.7696 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.5299, allocations: 23.98 kB / 0.7696 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001568/0.53, allocations: 132.2 kB / 0.7698 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.53, allocations: 0 / 0.7698 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006086/0.5306, allocations: 83.92 kB / 0.7698 GB, free: 8.227 MB / 0.6511 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.fire,cooModCon.con1.t_start,cooModCon.con1.condition,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.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,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) * 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.001498/0.5322, allocations: 1.049 MB / 0.7709 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.5333, allocations: 461.6 kB / 0.7713 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5333, allocations: 0 / 0.7713 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.5338, allocations: 202.1 kB / 0.7715 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.5343, allocations: 40.36 kB / 0.7715 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.5362, allocations: 0.5662 MB / 0.7721 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.5368, allocations: 0.8242 MB / 0.7729 GB, free: 5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003865/0.5372, allocations: 63.28 kB / 0.773 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.5376, allocations: 139.3 kB / 0.7731 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.5376, allocations: 0 / 0.7731 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5953/1.133, allocations: 7.245 MB / 0.7802 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/1.133, allocations: 182.4 kB / 0.7803 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.943, allocations: 0.5 kB / 0.7803 GB, free: 141.3 MB / 0.6511 GB