Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002174/0.002174, allocations: 164.9 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.775/2.775, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.859, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002688/0.8617, allocations: 2.007 MB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.8628, allocations: 0.7598 MB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.8629, allocations: 9.5 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.863, allocations: 34 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.88e-05/0.8631, allocations: 44.83 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.8635, allocations: 181.2 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.8639, allocations: 402.5 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.8641, allocations: 195.4 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.8643, allocations: 146.2 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.8645, allocations: 131.8 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.8645, allocations: 38.28 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.8646, allocations: 43.94 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.8647, allocations: 87.72 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.838e-05/0.8648, allocations: 113.8 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.8651, allocations: 437 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8651, allocations: 0 / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8651, allocations: 0 / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8651, allocations: 0 / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006726/0.8658, allocations: 0.5181 MB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.8658, allocations: 9.188 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/0.8662, allocations: 62.36 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.8665, allocations: 216.6 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.8665, allocations: 31.03 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.8665, allocations: 31.22 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.867, allocations: 316.4 kB / 1.16 GB, free: 29.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.867, allocations: 0 / 1.16 GB, free: 29.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.867, allocations: 13.69 kB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.867, allocations: 5.781 kB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.8674, allocations: 236.6 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.8685, allocations: 0.7566 MB / 1.161 GB, free: 29.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.8689, allocations: 229.9 kB / 1.161 GB, free: 29 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.8691, allocations: 104.6 kB / 1.161 GB, free: 28.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.8691, allocations: 14.91 kB / 1.161 GB, free: 28.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.8693, allocations: 160.4 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.8693, allocations: 0 / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.00058/0.8699, allocations: 316.9 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.87, allocations: 64.39 kB / 1.161 GB, free: 28.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.8701, allocations: 201.8 kB / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.8701, allocations: 47.17 kB / 1.162 GB, free: 28.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.8702, allocations: 154.8 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.8702, allocations: 85.03 kB / 1.162 GB, free: 28.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.8703, allocations: 78.77 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.8703, allocations: 338.1 kB / 1.162 GB, free: 27.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.8705, allocations: 88.5 kB / 1.162 GB, free: 27.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.8707, allocations: 158.7 kB / 1.162 GB, free: 27.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.871, allocations: 208.9 kB / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.871, allocations: 0 / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004333/0.8714, allocations: 310.2 kB / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.8715, allocations: 5.781 kB / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8715, allocations: 2.656 kB / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8715, allocations: 2.781 kB / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.8717, allocations: 40.78 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.8717, allocations: 6.844 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.8719, allocations: 47.47 kB / 1.163 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.8719, allocations: 17.03 kB / 1.163 GB, free: 27.49 MB / 1.076 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.872, allocations: 165.8 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.872, allocations: 23.55 kB / 1.163 GB, free: 27.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.8721, allocations: 33.89 kB / 1.163 GB, free: 27.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.8721, allocations: 3.344 kB / 1.163 GB, free: 27.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8721, allocations: 1.344 kB / 1.163 GB, free: 27.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8721, allocations: 0 / 1.163 GB, free: 27.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007287/0.8728, allocations: 0.6121 MB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8728, allocations: 3.984 kB / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.873, allocations: 28.16 kB / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.873, allocations: 0 / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.873, allocations: 9.953 kB / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.873, allocations: 0 / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.873, allocations: 2.281 kB / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.8734, allocations: 340.2 kB / 1.164 GB, free: 26.69 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.8734, allocations: 21.05 kB / 1.164 GB, free: 26.67 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.8734, allocations: 10.75 kB / 1.164 GB, free: 26.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.8736, allocations: 31.91 kB / 1.164 GB, free: 26.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.8737, allocations: 37.72 kB / 1.164 GB, free: 26.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.8737, allocations: 9.75 kB / 1.164 GB, free: 26.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.8738, allocations: 138 kB / 1.164 GB, free: 26.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8738, allocations: 3.938 kB / 1.164 GB, free: 26.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002903/0.8741, allocations: 62.56 kB / 1.165 GB, free: 26.52 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,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 (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.773e-05/0.8742, allocations: 116.7 kB / 1.165 GB, free: 26.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.8746, allocations: 232.3 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8746, allocations: 2.625 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.8748, allocations: 114.1 kB / 1.165 GB, free: 26.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.8751, allocations: 40.5 kB / 1.165 GB, free: 26.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.8757, allocations: 469.1 kB / 1.165 GB, free: 26 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.8758, allocations: 157.7 kB / 1.166 GB, free: 25.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.853e-05/0.8759, allocations: 22 kB / 1.166 GB, free: 25.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.876, allocations: 25.62 kB / 1.166 GB, free: 25.9 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.876, allocations: 2.625 kB / 1.166 GB, free: 25.9 MB / 1.076 GB Notification: Performance of Templates: time 0.005664/0.8817, allocations: 2.867 MB / 1.168 GB, free: 25.56 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.008552487939596]