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.Reheat.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009266/0.00927, allocations: 108.7 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001158/0.001158, allocations: 180.1 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.864/1.864, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.408/2.408, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00079/0.0007904, allocations: 8 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.6471, allocations: 98.71 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002241/0.6494, allocations: 1.684 MB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.6507, allocations: 0.708 MB / 0.6857 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.6509, allocations: 4.062 kB / 0.6857 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.651, allocations: 28.09 kB / 0.6857 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.6511, allocations: 34.55 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.6515, allocations: 101.9 kB / 0.6858 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.6519, allocations: 230.9 kB / 0.6861 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.6523, allocations: 181.6 kB / 0.6862 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.6524, allocations: 93.64 kB / 0.6863 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.6526, allocations: 114.8 kB / 0.6864 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.6527, allocations: 12.69 kB / 0.6864 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.6528, allocations: 17.64 kB / 0.6865 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.6529, allocations: 50.95 kB / 0.6865 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.6529, allocations: 71.78 kB / 0.6866 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.6534, allocations: 292 kB / 0.6869 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.711e-06/0.6534, allocations: 0 / 0.6869 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.98e-06/0.6534, allocations: 0 / 0.6869 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.59e-06/0.6534, allocations: 0 / 0.6869 GB, free: 14.57 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007655/0.6542, allocations: 0.5148 MB / 0.6874 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6542, allocations: 13.72 kB / 0.6874 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.6543, allocations: 34.36 kB / 0.6874 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.6547, allocations: 263.8 kB / 0.6877 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.6547, allocations: 25.14 kB / 0.6877 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.6548, allocations: 29.06 kB / 0.6877 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.6556, allocations: 309.4 kB / 0.688 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.6556, allocations: 1.062 kB / 0.688 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.6556, allocations: 14.88 kB / 0.688 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.6557, allocations: 6.188 kB / 0.688 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/0.6564, allocations: 245.9 kB / 0.6883 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.6582, allocations: 0.9357 MB / 0.6892 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.6589, allocations: 254.4 kB / 0.6894 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.6589, allocations: 6.906 kB / 0.6894 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.6594, allocations: 170.9 kB / 0.6896 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 3.937e-06/0.6594, allocations: 0 / 0.6896 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.0009611/0.6604, allocations: 331.5 kB / 0.6899 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.6604, allocations: 56.61 kB / 0.69 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.6606, allocations: 204 kB / 0.6902 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.6607, allocations: 38.62 kB / 0.6902 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.6608, allocations: 156.9 kB / 0.6903 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.6609, allocations: 77.16 kB / 0.6904 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.6609, allocations: 5.219 kB / 0.6904 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.661, allocations: 339.6 kB / 0.6907 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.6613, allocations: 100.4 kB / 0.6908 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.6617, allocations: 155.6 kB / 0.691 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.662, allocations: 102.6 kB / 0.6911 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.628e-06/0.662, allocations: 0 / 0.6911 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007632/0.6627, allocations: 304.5 kB / 0.6914 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6628, allocations: 14.56 kB / 0.6914 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.6628, allocations: 2.172 kB / 0.6914 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.6628, allocations: 2.594 kB / 0.6914 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.6631, allocations: 39.41 kB / 0.6914 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.6631, allocations: 4.203 kB / 0.6914 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.6634, allocations: 63.31 kB / 0.6915 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.6635, allocations: 10.66 kB / 0.6915 GB, free: 11.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0002177/0.6637, allocations: 175.8 kB / 0.6917 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.6638, allocations: 26.58 kB / 0.6917 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007415/0.6645, allocations: 290 kB / 0.692 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/0.6646, allocations: 4.047 kB / 0.692 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.558e-06/0.6646, allocations: 0 / 0.692 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.603e-06/0.6646, allocations: 1.781 kB / 0.692 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.6661, allocations: 0.7383 MB / 0.6927 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.845e-06/0.6661, allocations: 1.812 kB / 0.6927 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.6663, allocations: 31.05 kB / 0.6927 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.6664, allocations: 2.188 kB / 0.6927 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.6664, allocations: 6.734 kB / 0.6927 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.635e-06/0.6664, allocations: 1.219 kB / 0.6927 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.457e-06/0.6664, allocations: 9.844 kB / 0.6927 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.6671, allocations: 353.2 kB / 0.6931 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.6672, allocations: 101.2 kB / 0.6932 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.6673, allocations: 5.984 kB / 0.6932 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.6676, allocations: 39.62 kB / 0.6932 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.6678, allocations: 37.88 kB / 0.6933 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.6678, allocations: 11.75 kB / 0.6933 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001255/0.6679, allocations: 135.6 kB / 0.6934 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.77e-07/0.6679, allocations: 0 / 0.6934 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004761/0.6684, allocations: 66.12 kB / 0.6935 GB, free: 10.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000165/0.6686, allocations: 124.1 kB / 0.6936 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007048/0.6693, allocations: 268.3 kB / 0.6938 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.142e-06/0.6694, allocations: 1.031 kB / 0.6938 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.6697, allocations: 129.6 kB / 0.694 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.6701, allocations: 33.75 kB / 0.694 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.6711, allocations: 0.5354 MB / 0.6945 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.6714, allocations: 0.7685 MB / 0.6953 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002029/0.6716, allocations: 33.72 kB / 0.6953 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.6717, allocations: 25.16 kB / 0.6953 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.548e-06/0.6717, allocations: 0 / 0.6953 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.008415/0.6801, allocations: 2.565 MB / 0.6978 GB, free: 8.312 MB / 0.5261 GB