Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.DXCooled.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.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.119/4.119, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.521e-05, allocations: 5.141 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2892, allocations: 98.73 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.84/7.13, allocations: 2.188 GB / 2.823 GB, free: 113.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/7.13, allocations: 100.1 kB / 2.823 GB, free: 113.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2521/7.382, allocations: 62.3 MB / 2.883 GB, free: 61.15 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.004e-06/7.382, allocations: 0 / 2.883 GB, free: 61.15 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.561e-05/7.382, allocations: 35.88 kB / 2.883 GB, free: 61.11 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003109/7.385, allocations: 1.348 MB / 2.885 GB, free: 59.78 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/7.385, allocations: 12.03 kB / 2.885 GB, free: 59.77 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003265/7.386, allocations: 169.1 kB / 2.885 GB, free: 59.66 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/7.389, allocations: 336.4 kB / 2.885 GB, free: 59.33 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/7.391, allocations: 0.6996 MB / 2.886 GB, free: 58.74 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/7.391, allocations: 95.09 kB / 2.886 GB, free: 58.69 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/7.392, allocations: 122.6 kB / 2.886 GB, free: 58.61 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/7.395, allocations: 1.225 MB / 2.887 GB, free: 57.46 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/7.395, allocations: 0 / 2.887 GB, free: 57.46 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/7.395, allocations: 55.98 kB / 2.887 GB, free: 57.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/7.395, allocations: 38.2 kB / 2.887 GB, free: 57.36 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/7.398, allocations: 1.453 MB / 2.889 GB, free: 55.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008889/7.407, allocations: 3.544 MB / 2.892 GB, free: 52.28 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/7.41, allocations: 1.082 MB / 2.893 GB, free: 51.19 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/7.411, allocations: 448.2 kB / 2.894 GB, free: 50.75 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009497/7.412, allocations: 474.5 kB / 2.894 GB, free: 50.19 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001442/7.413, allocations: 0.6343 MB / 2.895 GB, free: 49.54 MB / 0.823 GB Notification: Performance of pre-optimization done (n=118): time 4.088e-06/7.413, allocations: 0 / 2.895 GB, free: 49.54 MB / 0.823 GB Notification: Performance of matching and sorting (n=118): time 0.003451/7.417, allocations: 1.017 MB / 2.896 GB, free: 48.51 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/7.417, allocations: 222.6 kB / 2.896 GB, free: 48.24 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/7.418, allocations: 0.6203 MB / 2.897 GB, free: 47.61 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/7.418, allocations: 61.7 kB / 2.897 GB, free: 47.55 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/7.419, allocations: 436.9 kB / 2.897 GB, free: 47.11 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/7.419, allocations: 343.2 kB / 2.898 GB, free: 46.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/7.419, allocations: 20 kB / 2.898 GB, free: 46.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001399/7.419, allocations: 410.7 kB / 2.898 GB, free: 46.34 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/7.42, allocations: 378.6 kB / 2.898 GB, free: 45.97 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/7.422, allocations: 0.543 MB / 2.899 GB, free: 45.38 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/7.423, allocations: 468.2 kB / 2.899 GB, free: 44.91 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/7.423, allocations: 0 / 2.899 GB, free: 44.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00375/7.427, allocations: 1.258 MB / 2.901 GB, free: 43.63 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/7.427, allocations: 63.41 kB / 2.901 GB, free: 43.56 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/7.427, allocations: 0 / 2.901 GB, free: 43.56 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009824/7.428, allocations: 92.8 kB / 2.901 GB, free: 43.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/7.429, allocations: 203.7 kB / 2.901 GB, free: 43.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/7.432, allocations: 1.522 MB / 2.902 GB, free: 41.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/7.434, allocations: 147.2 kB / 2.902 GB, free: 41.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/7.434, allocations: 51.98 kB / 2.903 GB, free: 41.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$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.con3.condition,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.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000422/7.435, allocations: 207 kB / 2.903 GB, free: 41.21 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/7.435, allocations: 102.9 kB / 2.903 GB, free: 41.11 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/7.439, allocations: 1.343 MB / 2.904 GB, free: 39.75 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/7.439, allocations: 15.98 kB / 2.904 GB, free: 39.73 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/7.439, allocations: 0 / 2.904 GB, free: 39.73 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/7.439, allocations: 3.984 kB / 2.904 GB, free: 39.73 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006623/7.446, allocations: 2.627 MB / 2.907 GB, free: 37.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/7.446, allocations: 4 kB / 2.907 GB, free: 37.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/7.448, allocations: 187.6 kB / 2.907 GB, free: 36.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008187/7.448, allocations: 88.77 kB / 2.907 GB, free: 36.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/7.449, allocations: 35.97 kB / 2.907 GB, free: 36.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/7.451, allocations: 1.54 MB / 2.909 GB, free: 35.05 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/7.451, allocations: 0 / 2.909 GB, free: 35.05 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/7.454, allocations: 1.223 MB / 2.91 GB, free: 33.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/7.455, allocations: 335.6 kB / 2.91 GB, free: 33.46 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/7.455, allocations: 27.98 kB / 2.91 GB, free: 33.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/7.457, allocations: 115.9 kB / 2.91 GB, free: 33.32 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/7.457, allocations: 117.2 kB / 2.91 GB, free: 33.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/7.457, allocations: 55.91 kB / 2.91 GB, free: 33.14 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007869/7.458, allocations: 479.1 kB / 2.911 GB, free: 32.67 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.61e-07/7.458, allocations: 0 / 2.911 GB, free: 32.67 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001632/7.46, allocations: 447.1 kB / 2.911 GB, free: 32.23 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse14,$cse15,$cse16,$cse17,$cse18,$cse19,$whenCondition6,$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.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 121 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005938/7.466, allocations: 2.761 MB / 2.914 GB, free: 29.57 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003149/7.469, allocations: 1.231 MB / 2.915 GB, free: 28.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/7.469, allocations: 0 / 2.915 GB, free: 28.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/7.471, allocations: 0.6621 MB / 2.916 GB, free: 27.63 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/7.472, allocations: 213.3 kB / 2.916 GB, free: 27.43 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007045/7.479, allocations: 1.964 MB / 2.918 GB, free: 25.42 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/7.48, allocations: 1.122 MB / 2.919 GB, free: 24.27 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001915/7.482, allocations: 311.6 kB / 2.919 GB, free: 23.96 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000994/7.483, allocations: 443.2 kB / 2.92 GB, free: 23.53 MB / 0.823 GB Notification: Performance of SimCode: time 1.112e-06/7.483, allocations: 0 / 2.92 GB, free: 23.53 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6852/8.168, allocations: 35.28 MB / 2.954 GB, free: 258.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/8.169, allocations: 267.4 kB / 2.954 GB, free: 257.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.606/12.77, allocations: 0 / 2.954 GB, free: 257.9 MB / 0.823 GB