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.001823/0.001823, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002246/0.002246, allocations: 221.2 kB / 23 MB, free: 4.91 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.339/3.339, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 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.002031/0.002031, allocations: 66.45 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4321, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003897/0.436, allocations: 2.005 MB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.4376, allocations: 0.7636 MB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.4378, allocations: 7.938 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.4379, allocations: 31.61 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.438, allocations: 47.52 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.4386, allocations: 183.7 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.4391, allocations: 407.1 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.4395, allocations: 197.5 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.4398, allocations: 151.5 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.44, allocations: 123.4 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.44, allocations: 44 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.4401, allocations: 48 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.4402, allocations: 79.75 kB / 1.369 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.4404, allocations: 123.4 kB / 1.369 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.4409, allocations: 434.3 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4409, allocations: 0 / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4409, allocations: 0 / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4409, allocations: 0 / 1.369 GB, free: 8.984 MB / 1.061 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.0009311/0.4419, allocations: 0.5012 MB / 1.37 GB, free: 8.457 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4419, allocations: 16.03 kB / 1.37 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004579/0.4424, allocations: 64.7 kB / 1.37 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.4428, allocations: 218 kB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.4429, allocations: 25.03 kB / 1.37 GB, free: 8.117 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.4429, allocations: 36.31 kB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.4436, allocations: 317.4 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4436, allocations: 0 / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.4436, allocations: 8 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.4436, allocations: 12 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.4441, allocations: 234.4 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.4456, allocations: 0.7585 MB / 1.371 GB, free: 6.711 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.4461, allocations: 227.5 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.4463, allocations: 105.3 kB / 1.372 GB, free: 6.375 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.4464, allocations: 4.234 kB / 1.372 GB, free: 6.371 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.4467, allocations: 164 kB / 1.372 GB, free: 6.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.4467, allocations: 0 / 1.372 GB, free: 6.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0007428/0.4474, allocations: 325.4 kB / 1.372 GB, free: 5.875 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.4475, allocations: 59.41 kB / 1.372 GB, free: 5.805 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.4477, allocations: 203.1 kB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.4477, allocations: 41.69 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.4479, allocations: 156.8 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.4479, allocations: 79.38 kB / 1.373 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.4481, allocations: 81.67 kB / 1.373 GB, free: 5.223 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4482, allocations: 334.8 kB / 1.373 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.4485, allocations: 91.97 kB / 1.373 GB, free: 4.797 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.4487, allocations: 145.8 kB / 1.373 GB, free: 4.637 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.4491, allocations: 220.7 kB / 1.373 GB, free: 4.402 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4491, allocations: 0 / 1.373 GB, free: 4.402 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005683/0.4497, allocations: 312.5 kB / 1.374 GB, free: 4.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.4497, allocations: 12.16 kB / 1.374 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4497, allocations: 0 / 1.374 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4497, allocations: 4 kB / 1.374 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4499, allocations: 43.91 kB / 1.374 GB, free: 4.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.4499, allocations: 0 / 1.374 GB, free: 4.031 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.4502, allocations: 43.8 kB / 1.374 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.4502, allocations: 12 kB / 1.374 GB, free: 3.977 MB / 1.061 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.0002087/0.4504, allocations: 173.7 kB / 1.374 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.4504, allocations: 27.8 kB / 1.374 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/0.4505, allocations: 30.64 kB / 1.374 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4505, allocations: 4 kB / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4505, allocations: 0 / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4505, allocations: 0 / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.4516, allocations: 0.6036 MB / 1.375 GB, free: 3.102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4516, allocations: 0 / 1.375 GB, free: 3.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.4517, allocations: 31.92 kB / 1.375 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4517, allocations: 4 kB / 1.375 GB, free: 3.066 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.4517, allocations: 4 kB / 1.375 GB, free: 3.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4517, allocations: 0 / 1.375 GB, free: 3.062 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4517, allocations: 3.984 kB / 1.375 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.4523, allocations: 361.3 kB / 1.375 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.4523, allocations: 27.78 kB / 1.375 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.4524, allocations: 8 kB / 1.375 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.4526, allocations: 27.97 kB / 1.375 GB, free: 2.629 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.4527, allocations: 39.88 kB / 1.375 GB, free: 2.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.4527, allocations: 12 kB / 1.375 GB, free: 2.578 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001138/0.4528, allocations: 129.2 kB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4528, allocations: 0 / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003315/0.4532, allocations: 63.88 kB / 1.375 GB, free: 2.391 MB / 1.061 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.0001753/0.4533, allocations: 112.9 kB / 1.375 GB, free: 2.273 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005466/0.4539, allocations: 231.8 kB / 1.376 GB, free: 2.047 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4539, allocations: 0 / 1.376 GB, free: 2.047 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.4541, allocations: 111.9 kB / 1.376 GB, free: 1.938 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.4545, allocations: 27.98 kB / 1.376 GB, free: 1.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009383/0.4554, allocations: 488.7 kB / 1.376 GB, free: 1.398 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.4556, allocations: 154.8 kB / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.4557, allocations: 23.44 kB / 1.376 GB, free: 1.203 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4557, allocations: 4 kB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of Templates: time 0.006185/0.4619, allocations: 3.31 MB / 1.38 GB, free: 13.9 MB / 1.076 GB " [Timeout remaining time 300] 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 -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: 11.906971870921552]