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/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.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.17/4.17, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.372e-05, allocations: 1.281 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2271, allocations: 98.73 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.69/6.917, allocations: 2.187 GB / 2.816 GB, free: 148.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/6.917, allocations: 94.38 kB / 2.816 GB, free: 148.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2261/7.143, allocations: 61.37 MB / 2.876 GB, free: 97.33 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.814e-06/7.143, allocations: 0 / 2.876 GB, free: 97.33 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001182/7.143, allocations: 35.94 kB / 2.876 GB, free: 97.3 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.003751/7.147, allocations: 1.346 MB / 2.877 GB, free: 95.96 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/7.147, allocations: 12.03 kB / 2.877 GB, free: 95.95 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003445/7.151, allocations: 341.2 kB / 2.878 GB, free: 95.62 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/7.153, allocations: 0.6845 MB / 2.878 GB, free: 95.04 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/7.153, allocations: 42.56 kB / 2.878 GB, free: 95 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/7.153, allocations: 68 kB / 2.879 GB, free: 94.93 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003644/7.157, allocations: 1.388 MB / 2.88 GB, free: 93.92 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/7.16, allocations: 1.079 MB / 2.881 GB, free: 92.89 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/7.16, allocations: 0 / 2.881 GB, free: 92.89 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/7.16, allocations: 3.938 kB / 2.881 GB, free: 92.89 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.938e-05/7.16, allocations: 46.19 kB / 2.881 GB, free: 92.84 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009332/7.17, allocations: 3.33 MB / 2.884 GB, free: 89.45 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/7.172, allocations: 1.003 MB / 2.885 GB, free: 88.43 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/7.173, allocations: 417.2 kB / 2.886 GB, free: 88.02 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009204/7.174, allocations: 482.7 kB / 2.886 GB, free: 87.46 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/7.175, allocations: 0.6014 MB / 2.887 GB, free: 86.83 MB / 0.823 GB Notification: Performance of pre-optimization done (n=118): time 5.04e-06/7.175, allocations: 0 / 2.887 GB, free: 86.83 MB / 0.823 GB Notification: Performance of matching and sorting (n=118): time 0.009124/7.184, allocations: 1.34 MB / 2.888 GB, free: 85.48 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/7.185, allocations: 222.9 kB / 2.888 GB, free: 85.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/7.186, allocations: 0.5332 MB / 2.889 GB, free: 84.68 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000341/7.186, allocations: 45.69 kB / 2.889 GB, free: 84.62 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000471/7.187, allocations: 428.8 kB / 2.889 GB, free: 84.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004418/7.187, allocations: 335.2 kB / 2.889 GB, free: 83.87 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/7.187, allocations: 0 / 2.889 GB, free: 83.87 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001538/7.187, allocations: 390.7 kB / 2.89 GB, free: 83.48 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009055/7.188, allocations: 358.6 kB / 2.89 GB, free: 83.13 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/7.189, allocations: 0.5133 MB / 2.891 GB, free: 82.57 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006702/7.196, allocations: 0.7594 MB / 2.891 GB, free: 81.81 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/7.196, allocations: 0 / 2.891 GB, free: 81.81 MB / 0.823 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.009432/7.205, allocations: 1.508 MB / 2.893 GB, free: 80.29 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/7.206, allocations: 59.41 kB / 2.893 GB, free: 80.22 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/7.206, allocations: 224 / 2.893 GB, free: 80.22 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009841/7.207, allocations: 92.75 kB / 2.893 GB, free: 80.13 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/7.208, allocations: 211.6 kB / 2.893 GB, free: 79.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/7.211, allocations: 1.453 MB / 2.895 GB, free: 78.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/7.213, allocations: 119.3 kB / 2.895 GB, free: 78.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/7.213, allocations: 51.92 kB / 2.895 GB, free: 78.18 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.0004159/7.213, allocations: 172.8 kB / 2.895 GB, free: 78 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009058/7.222, allocations: 1.332 MB / 2.896 GB, free: 76.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/7.223, allocations: 90.95 kB / 2.896 GB, free: 76.57 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/7.233, allocations: 1.631 MB / 2.898 GB, free: 74.92 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/7.233, allocations: 16 kB / 2.898 GB, free: 74.91 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/7.233, allocations: 4 kB / 2.898 GB, free: 74.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/7.233, allocations: 3.984 kB / 2.898 GB, free: 74.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/7.245, allocations: 2.772 MB / 2.901 GB, free: 72.08 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/7.245, allocations: 0 / 2.901 GB, free: 72.08 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/7.247, allocations: 179.7 kB / 2.901 GB, free: 71.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008322/7.248, allocations: 88.77 kB / 2.901 GB, free: 71.81 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/7.248, allocations: 19.98 kB / 2.901 GB, free: 71.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/7.25, allocations: 1.481 MB / 2.902 GB, free: 70.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/7.25, allocations: 0 / 2.902 GB, free: 70.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009071/7.259, allocations: 1.535 MB / 2.904 GB, free: 68.64 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008473/7.26, allocations: 335.5 kB / 2.904 GB, free: 68.29 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/7.26, allocations: 7.984 kB / 2.904 GB, free: 68.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/7.262, allocations: 99.89 kB / 2.904 GB, free: 68.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/7.262, allocations: 113.2 kB / 2.904 GB, free: 68.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/7.263, allocations: 51.91 kB / 2.905 GB, free: 68.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006613/7.263, allocations: 398.9 kB / 2.905 GB, free: 67.63 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.31e-07/7.263, allocations: 0 / 2.905 GB, free: 67.63 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001781/7.265, allocations: 395.1 kB / 2.905 GB, free: 67.25 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.01173/7.277, allocations: 3.113 MB / 2.908 GB, free: 64.16 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002976/7.28, allocations: 1.166 MB / 2.909 GB, free: 62.96 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/7.28, allocations: 0 / 2.909 GB, free: 62.96 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/7.281, allocations: 0.6241 MB / 2.91 GB, free: 62.33 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/7.283, allocations: 212 kB / 2.91 GB, free: 62.13 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008126/7.291, allocations: 1.846 MB / 2.912 GB, free: 60.24 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/7.292, allocations: 1.119 MB / 2.913 GB, free: 59.09 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002318/7.295, allocations: 303.3 kB / 2.913 GB, free: 58.79 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/7.296, allocations: 435.3 kB / 2.914 GB, free: 58.37 MB / 0.823 GB Notification: Performance of SimCode: time 1.943e-06/7.296, allocations: 0 / 2.914 GB, free: 58.37 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/7.408, allocations: 27.36 MB / 2.941 GB, free: 31.14 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/7.408, allocations: 211.7 kB / 2.941 GB, free: 30.86 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.276/11.68, allocations: 3.938 kB / 2.941 GB, free: 30.85 MB / 0.823 GB