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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.083/4.083, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.25e-05, allocations: 4.906 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2293, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2546/0.4839, allocations: 128.4 MB / 0.7601 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.4843, allocations: 99.86 kB / 0.7602 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02983/0.5141, allocations: 7.244 MB / 0.7673 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5142, allocations: 3.938 kB / 0.7673 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.422e-05/0.5142, allocations: 8 kB / 0.7673 GB, free: 9.895 MB / 0.6511 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.00163/0.5158, allocations: 0.6524 MB / 0.768 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.5159, allocations: 12.03 kB / 0.768 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.5161, allocations: 86.52 kB / 0.768 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.5163, allocations: 51.83 kB / 0.7681 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.5169, allocations: 330.4 kB / 0.7684 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.517, allocations: 41 kB / 0.7684 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.5171, allocations: 55.98 kB / 0.7685 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.5185, allocations: 494.2 kB / 0.769 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.5185, allocations: 3.984 kB / 0.769 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.5186, allocations: 16 kB / 0.769 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.5187, allocations: 21 kB / 0.769 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.5198, allocations: 407.8 kB / 0.7694 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.5234, allocations: 1.372 MB / 0.7707 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5244, allocations: 373.8 kB / 0.7711 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.5249, allocations: 178.2 kB / 0.7713 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.398e-05/0.525, allocations: 12.42 kB / 0.7713 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006501/0.5257, allocations: 257.2 kB / 0.7715 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.927e-06/0.5257, allocations: 0 / 0.7715 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.001159/0.5268, allocations: 367.7 kB / 0.7719 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.5269, allocations: 71.78 kB / 0.7719 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.5274, allocations: 236.5 kB / 0.7722 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.5275, allocations: 57.69 kB / 0.7722 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.5277, allocations: 189.3 kB / 0.7724 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.5279, allocations: 118.4 kB / 0.7725 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.528, allocations: 16 kB / 0.7725 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5282, allocations: 346.8 kB / 0.7729 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.5287, allocations: 165.5 kB / 0.773 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.5293, allocations: 251.4 kB / 0.7733 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005056/0.5298, allocations: 187.7 kB / 0.7734 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.5298, allocations: 4 kB / 0.7734 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001429/0.5313, allocations: 0.5287 MB / 0.774 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.5314, allocations: 37.92 kB / 0.774 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5314, allocations: 0 / 0.774 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.5314, allocations: 11.94 kB / 0.774 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.532, allocations: 75.77 kB / 0.7741 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.532, allocations: 7.984 kB / 0.7741 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/0.5328, allocations: 91.64 kB / 0.7742 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/0.5329, allocations: 27.98 kB / 0.7742 GB, free: 2.535 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.0002643/0.5332, allocations: 172.8 kB / 0.7744 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5333, allocations: 35.62 kB / 0.7744 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.5345, allocations: 446.9 kB / 0.7748 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.5346, allocations: 4 kB / 0.7748 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5346, allocations: 4 kB / 0.7748 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-05/0.5346, allocations: 3.984 kB / 0.7748 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.5372, allocations: 1.074 MB / 0.7759 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5373, allocations: 4 kB / 0.7759 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.5377, allocations: 47.91 kB / 0.7759 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.5377, allocations: 3.953 kB / 0.7759 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.5378, allocations: 12 kB / 0.776 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.5378, allocations: 7.984 kB / 0.776 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5378, allocations: 4 kB / 0.776 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.5389, allocations: 0.4914 MB / 0.7764 GB, free: 156 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.539, allocations: 120.6 kB / 0.7766 GB, free: 16 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/0.5391, allocations: 16.38 kB / 0.7766 GB, free: 0 / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.6075/1.147, allocations: 47.44 kB / 0.7766 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007941/1.148, allocations: 78.86 kB / 0.7767 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.148, allocations: 18.59 kB / 0.7767 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000432/1.148, allocations: 164.9 kB / 0.7769 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.91e-07/1.148, allocations: 0 / 0.7769 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007484/1.149, allocations: 97.66 kB / 0.777 GB, free: 138.3 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.001514/1.151, allocations: 1.082 MB / 0.778 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001302/1.152, allocations: 498.2 kB / 0.7785 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.152, allocations: 0 / 0.7785 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/1.153, allocations: 216.9 kB / 0.7787 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/1.153, allocations: 50.36 kB / 0.7788 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/1.155, allocations: 0.6092 MB / 0.7793 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/1.156, allocations: 0.821 MB / 0.7801 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004156/1.156, allocations: 59.48 kB / 0.7802 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/1.156, allocations: 140.6 kB / 0.7803 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.323e-06/1.156, allocations: 0 / 0.7803 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/1.199, allocations: 7.957 MB / 0.7881 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/1.2, allocations: 192.8 kB / 0.7883 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/4.157, allocations: 0 / 0.7883 GB, free: 135.8 MB / 0.6511 GB