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.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.484/4.484, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.673e-05/4.7e-05, allocations: 3.188 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2439, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.4857, allocations: 129.4 MB / 0.7611 GB, free: 324 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/0.4861, allocations: 87.94 kB / 0.7612 GB, free: 236 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03107/0.5172, allocations: 6.769 MB / 0.7678 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5172, allocations: 4 kB / 0.7678 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.5173, allocations: 4 kB / 0.7678 GB, free: 9.418 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001404/0.5187, allocations: 0.619 MB / 0.7684 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.5187, allocations: 16.03 kB / 0.7684 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.5189, allocations: 62.53 kB / 0.7685 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.519, allocations: 43.48 kB / 0.7685 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.5196, allocations: 298.5 kB / 0.7688 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.5197, allocations: 24.72 kB / 0.7688 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.5198, allocations: 36 kB / 0.7688 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009521/0.5207, allocations: 358.4 kB / 0.7692 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5208, allocations: 0 / 0.7692 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.5208, allocations: 12 kB / 0.7692 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.5209, allocations: 20.55 kB / 0.7692 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.5217, allocations: 266.1 kB / 0.7695 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.5242, allocations: 0.999 MB / 0.7704 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.525, allocations: 287.6 kB / 0.7707 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.5254, allocations: 141.3 kB / 0.7709 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.157e-05/0.5255, allocations: 4.281 kB / 0.7709 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005597/0.5261, allocations: 215.2 kB / 0.7711 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 3.156e-06/0.5261, allocations: 0 / 0.7711 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.0009974/0.5271, allocations: 328.8 kB / 0.7714 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.5272, allocations: 59.39 kB / 0.7714 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.5275, allocations: 222.8 kB / 0.7716 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5277, allocations: 49.69 kB / 0.7717 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.5278, allocations: 160.6 kB / 0.7718 GB, free: 5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.528, allocations: 90.8 kB / 0.7719 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.528, allocations: 12 kB / 0.7719 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5282, allocations: 342.8 kB / 0.7723 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.5286, allocations: 137.1 kB / 0.7724 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.5291, allocations: 191.1 kB / 0.7726 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.5295, allocations: 197 kB / 0.7728 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5296, allocations: 0 / 0.7728 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001248/0.5308, allocations: 495 kB / 0.7732 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/0.5309, allocations: 63.39 kB / 0.7733 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.531, allocations: 0 / 0.7733 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.531, allocations: 8 kB / 0.7733 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.5315, allocations: 64 kB / 0.7734 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.5315, allocations: 4 kB / 0.7734 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.5321, allocations: 55.8 kB / 0.7734 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.5322, allocations: 20 kB / 0.7734 GB, free: 3.297 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,$PRE.chiNumOn.y,chiNumOn.y,$PRE.chiNumOn.nextTime,chiNumOn.nextTime,$PRE.chiNumOn.index,chiNumOn.index,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.5324, allocations: 154.1 kB / 0.7736 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.5325, allocations: 27.62 kB / 0.7736 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.5336, allocations: 375.7 kB / 0.774 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.5336, allocations: 4 kB / 0.774 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5336, allocations: 0 / 0.774 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.5336, allocations: 3.984 kB / 0.774 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.5357, allocations: 0.8608 MB / 0.7748 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5358, allocations: 0 / 0.7748 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.5361, allocations: 39.91 kB / 0.7749 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.5362, allocations: 0 / 0.7749 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.5362, allocations: 11.98 kB / 0.7749 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5362, allocations: 4 kB / 0.7749 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5363, allocations: 3.953 kB / 0.7749 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.5372, allocations: 447.5 kB / 0.7753 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.5373, allocations: 100.8 kB / 0.7754 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.5374, allocations: 12 kB / 0.7754 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.5379, allocations: 43.95 kB / 0.7755 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.5381, allocations: 55.88 kB / 0.7755 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/0.5382, allocations: 15.98 kB / 0.7755 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002331/0.5385, allocations: 161.6 kB / 0.7757 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5385, allocations: 0 / 0.7757 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006391/0.5391, allocations: 91.98 kB / 0.7758 GB, free: 0.8164 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: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse1,$cse2,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.nextTime,chiNumOn.index) * Number of discrete states: 6 (chiNumOn.nextTime,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * 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.5316/1.071, allocations: 1.021 MB / 0.7768 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00169/1.073, allocations: 445.7 kB / 0.7772 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.073, allocations: 1.406 kB / 0.7772 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006555/1.073, allocations: 164.2 kB / 0.7773 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/1.074, allocations: 30.12 kB / 0.7774 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/1.076, allocations: 0.4918 MB / 0.7779 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/1.077, allocations: 0.7882 MB / 0.7786 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004286/1.077, allocations: 40.75 kB / 0.7787 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/1.078, allocations: 97.84 kB / 0.7788 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.843e-06/1.078, allocations: 2.781 kB / 0.7788 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/1.126, allocations: 6.543 MB / 0.7852 GB, free: 137 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002664/1.126, allocations: 198.2 kB / 0.7853 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.888, allocations: 0 / 0.7853 GB, free: 136.8 MB / 0.6511 GB