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.ChillerStage.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.ChillerStage,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.317/4.317, allocations: 433.2 MB / 440.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.834e-05, allocations: 0 / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7341, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2617/0.9959, allocations: 130.3 MB / 0.7561 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/0.9963, allocations: 103.9 kB / 0.7562 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05065/1.047, allocations: 10.53 MB / 0.7665 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.364e-06/1.047, allocations: 0 / 0.7665 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.034e-05/1.047, allocations: 12 kB / 0.7665 GB, free: 2.59 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002876/1.05, allocations: 0.7905 MB / 0.7673 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/1.05, allocations: 11.97 kB / 0.7673 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/1.051, allocations: 67.2 kB / 0.7674 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/1.052, allocations: 370.3 kB / 0.7677 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.828e-05/1.052, allocations: 20 kB / 0.7677 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/1.052, allocations: 36 kB / 0.7678 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001895/1.054, allocations: 390.5 kB / 0.7681 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/1.056, allocations: 464.2 kB / 0.7686 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/1.056, allocations: 4 kB / 0.7686 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.759e-05/1.056, allocations: 3.984 kB / 0.7686 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/1.056, allocations: 15.95 kB / 0.7686 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/1.061, allocations: 1.34 MB / 0.7699 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/1.062, allocations: 424.8 kB / 0.7703 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/1.063, allocations: 198.5 kB / 0.7705 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.653e-05/1.063, allocations: 8.562 kB / 0.7705 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009675/1.064, allocations: 270 kB / 0.7708 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 5.18e-06/1.064, allocations: 0 / 0.7708 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.0017/1.066, allocations: 434.6 kB / 0.7712 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/1.066, allocations: 64.84 kB / 0.7712 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007333/1.067, allocations: 309.9 kB / 0.7715 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/1.067, allocations: 41.69 kB / 0.7716 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/1.067, allocations: 217.2 kB / 0.7718 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.068, allocations: 146.1 kB / 0.7719 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/1.068, allocations: 0 / 0.7719 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000272/1.068, allocations: 358.7 kB / 0.7723 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007529/1.069, allocations: 169.5 kB / 0.7724 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/1.07, allocations: 253.8 kB / 0.7727 GB, free: 12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/1.07, allocations: 164.5 kB / 0.7728 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/1.07, allocations: 4 kB / 0.7728 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00219/1.073, allocations: 0.5231 MB / 0.7733 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.073, allocations: 89.11 kB / 0.7734 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.073, allocations: 4 kB / 0.7734 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/1.073, allocations: 4 kB / 0.7734 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/1.074, allocations: 71.83 kB / 0.7735 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/1.074, allocations: 8 kB / 0.7735 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009676/1.075, allocations: 75.66 kB / 0.7736 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/1.075, allocations: 28 kB / 0.7736 GB, free: 11.02 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: 69 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * 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.0003636/1.075, allocations: 156.8 kB / 0.7738 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001597/1.077, allocations: 430.5 kB / 0.7742 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/1.077, allocations: 47.52 kB / 0.7742 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/1.079, allocations: 0.4916 MB / 0.7747 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.079, allocations: 8 kB / 0.7747 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.079, allocations: 0 / 0.7747 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/1.079, allocations: 3.984 kB / 0.7747 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/1.083, allocations: 1.126 MB / 0.7758 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.083, allocations: 3.938 kB / 0.7758 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/1.084, allocations: 55.89 kB / 0.7759 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/1.084, allocations: 4 kB / 0.7759 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/1.084, allocations: 8 kB / 0.7759 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/1.084, allocations: 3.953 kB / 0.7759 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.084, allocations: 3.984 kB / 0.7759 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/1.086, allocations: 0.5578 MB / 0.7764 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/1.086, allocations: 124.5 kB / 0.7765 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.086, allocations: 8 kB / 0.7766 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/1.087, allocations: 55.88 kB / 0.7766 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003895/1.087, allocations: 96.31 kB / 0.7767 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.087, allocations: 27.98 kB / 0.7767 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004521/1.088, allocations: 202 kB / 0.7769 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/1.088, allocations: 4 kB / 0.7769 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001068/1.089, allocations: 115.8 kB / 0.777 GB, free: 7.418 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: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.y,cooMod.nextTime,cooMod.index,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.nextTime,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.003166/1.092, allocations: 1.291 MB / 0.7783 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001942/1.094, allocations: 0.6098 MB / 0.7789 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.094, allocations: 448 / 0.7789 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008822/1.095, allocations: 246 kB / 0.7791 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/1.096, allocations: 51.59 kB / 0.7792 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/1.099, allocations: 0.7263 MB / 0.7799 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/1.1, allocations: 0.8673 MB / 0.7807 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005808/1.101, allocations: 64.16 kB / 0.7808 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/1.101, allocations: 163.4 kB / 0.7809 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of SimCode: time 1.283e-06/1.101, allocations: 4 kB / 0.781 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/1.165, allocations: 9.116 MB / 0.7899 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/1.165, allocations: 211.2 kB / 0.7901 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/3.956, allocations: 0 / 0.7901 GB, free: 9.926 MB / 0.6667 GB