Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001402/0.001402, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00149/0.00149, allocations: 161 kB / 23.01 MB, free: 4.602 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.9/2.9, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00225/0.00225, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8381, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002951/0.841, allocations: 2.013 MB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.8423, allocations: 0.7583 MB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.8424, allocations: 7.844 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.8425, allocations: 39.72 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.8426, allocations: 45.36 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.8431, allocations: 177.8 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.8435, allocations: 406.3 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.8438, allocations: 195.1 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.844, allocations: 143.9 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.8442, allocations: 134.4 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.8443, allocations: 42.12 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.8444, allocations: 47.5 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.8445, allocations: 85 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.8446, allocations: 122.1 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.8451, allocations: 427.1 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.8451, allocations: 5.219 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8451, allocations: 0 / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.8451, allocations: 0 / 1.191 GB, free: 13.36 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.0007936/0.8459, allocations: 0.5043 MB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.846, allocations: 9.844 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004332/0.8464, allocations: 60.38 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.8467, allocations: 224.7 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.8467, allocations: 25.81 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.8468, allocations: 29.61 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.8473, allocations: 321.1 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.8473, allocations: 0 / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.8474, allocations: 22.94 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8474, allocations: 3.25 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.8478, allocations: 228.8 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.849, allocations: 0.7569 MB / 1.193 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.8495, allocations: 226.1 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.8497, allocations: 108 kB / 1.194 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.8498, allocations: 2.547 kB / 1.194 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.85, allocations: 158.8 kB / 1.194 GB, free: 11.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.85, allocations: 0 / 1.194 GB, free: 11.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.0006727/0.8507, allocations: 334.4 kB / 1.194 GB, free: 11.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.8507, allocations: 61.7 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.8509, allocations: 200.2 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.8509, allocations: 39.97 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.851, allocations: 159.2 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.851, allocations: 81.08 kB / 1.195 GB, free: 11.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.8511, allocations: 77.88 kB / 1.195 GB, free: 11.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.8512, allocations: 336.3 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.8514, allocations: 88.52 kB / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.8516, allocations: 154.5 kB / 1.195 GB, free: 10.63 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.8519, allocations: 211.4 kB / 1.195 GB, free: 10.51 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8519, allocations: 0.6094 kB / 1.195 GB, free: 10.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005071/0.8525, allocations: 318.7 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8525, allocations: 5.5 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.8525, allocations: 1.281 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8525, allocations: 4.453 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.8527, allocations: 44.94 kB / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8527, allocations: 2.656 kB / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.8529, allocations: 41.59 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.8529, allocations: 13.72 kB / 1.196 GB, free: 10.33 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.0001285/0.8531, allocations: 176.9 kB / 1.196 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.8531, allocations: 26.3 kB / 1.196 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.8532, allocations: 31.66 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.8532, allocations: 4.547 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8532, allocations: 0 / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8532, allocations: 1.406 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/0.854, allocations: 0.6023 MB / 1.197 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.854, allocations: 5.094 kB / 1.197 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.8542, allocations: 24.3 kB / 1.197 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8542, allocations: 2.828 kB / 1.197 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.8542, allocations: 10.44 kB / 1.197 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8542, allocations: 1.281 kB / 1.197 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8542, allocations: 0 / 1.197 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.8546, allocations: 353.4 kB / 1.197 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.8547, allocations: 22.75 kB / 1.197 GB, free: 9.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.8547, allocations: 7.141 kB / 1.197 GB, free: 9.496 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.8549, allocations: 29.86 kB / 1.197 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.855, allocations: 39.25 kB / 1.197 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.855, allocations: 8.016 kB / 1.197 GB, free: 9.477 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.8551, allocations: 129.5 kB / 1.197 GB, free: 9.387 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8551, allocations: 0 / 1.197 GB, free: 9.387 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000312/0.8554, allocations: 61.09 kB / 1.197 GB, free: 9.371 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 0.0001014/0.8555, allocations: 124.2 kB / 1.197 GB, free: 9.266 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004698/0.856, allocations: 232 kB / 1.198 GB, free: 9.195 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.856, allocations: 0 / 1.198 GB, free: 9.195 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.8562, allocations: 116.8 kB / 1.198 GB, free: 9.156 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.8566, allocations: 34.7 kB / 1.198 GB, free: 9.141 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007338/0.8573, allocations: 469.5 kB / 1.198 GB, free: 8.844 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.8574, allocations: 150.1 kB / 1.198 GB, free: 8.762 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.8575, allocations: 27.23 kB / 1.198 GB, free: 8.758 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.8576, allocations: 29.84 kB / 1.198 GB, free: 8.746 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.8576, allocations: 0 / 1.198 GB, free: 8.746 MB / 1.076 GB Notification: Performance of Templates: time 0.00689/0.8645, allocations: 2.868 MB / 1.201 GB, free: 8.406 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.716752397012897]