Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001554/0.001554, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002017/0.002017, allocations: 209.1 kB / 22.24 MB, free: 5.262 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476 MB / 0.7699 GB, free: 4.887 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002075/0.002075, allocations: 68.44 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4507, allocations: 169.9 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004336/0.4551, allocations: 2.011 MB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.4568, allocations: 0.7442 MB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.4569, allocations: 7.938 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.4571, allocations: 39.59 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.4573, allocations: 43.53 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.4579, allocations: 187.7 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000567/0.4584, allocations: 415 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.4588, allocations: 204.4 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.4591, allocations: 143.5 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.4593, allocations: 131.4 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.072e-05/0.4594, allocations: 40 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.4595, allocations: 44 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.4596, allocations: 87.69 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.4597, allocations: 119.4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.4603, allocations: 430.3 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4603, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.628e-06/0.4603, allocations: 3.984 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.4603, allocations: 4 kB / 1.288 GB, free: 7.277 MB / 0.9825 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.0009978/0.4613, allocations: 0.5051 MB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4614, allocations: 12.03 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.4618, allocations: 64.66 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.4623, allocations: 218 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.4623, allocations: 21.03 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.4624, allocations: 40.36 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.463, allocations: 313.4 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.463, allocations: 7.938 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.463, allocations: 8 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.4631, allocations: 8 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.4636, allocations: 234.5 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.465, allocations: 0.7507 MB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.4655, allocations: 223.6 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.4657, allocations: 97.3 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.4657, allocations: 4.234 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.4661, allocations: 168.7 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.295e-06/0.4661, allocations: 4 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007477/0.4668, allocations: 329.9 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.4669, allocations: 55.41 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.4671, allocations: 203.1 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.4672, allocations: 37.7 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.4673, allocations: 148.8 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.759e-05/0.4674, allocations: 91.31 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.4675, allocations: 77.69 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4677, allocations: 330.8 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.4679, allocations: 107.8 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.4681, allocations: 145.1 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.4686, allocations: 222 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4686, allocations: 0 / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005748/0.4691, allocations: 301 kB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.4692, allocations: 10.34 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4692, allocations: 0 / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.4692, allocations: 4 kB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.4694, allocations: 39.91 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4694, allocations: 4 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4696, allocations: 51.91 kB / 1.292 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.4697, allocations: 15.98 kB / 1.292 GB, free: 2.273 MB / 0.9825 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.0002182/0.4699, allocations: 169.8 kB / 1.292 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.4699, allocations: 23.8 kB / 1.292 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.47, allocations: 30.64 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.47, allocations: 4 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.47, allocations: 3.938 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.47, allocations: 4 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.4712, allocations: 0.592 MB / 1.293 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4712, allocations: 0 / 1.293 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.4713, allocations: 31.98 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4713, allocations: 4 kB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.4713, allocations: 7.984 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4713, allocations: 0 / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4713, allocations: 0 / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.4719, allocations: 357.3 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.4719, allocations: 19.8 kB / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.4719, allocations: 8 kB / 1.293 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4721, allocations: 23.97 kB / 1.293 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.4722, allocations: 35.94 kB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4723, allocations: 12 kB / 1.293 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001284/0.4724, allocations: 125.8 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4724, allocations: 4 kB / 1.294 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003372/0.4727, allocations: 67.84 kB / 1.294 GB, free: 0.707 MB / 0.9825 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.0001808/0.4729, allocations: 121.4 kB / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005332/0.4735, allocations: 239.8 kB / 1.294 GB, free: 356 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4735, allocations: 3.938 kB / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.4737, allocations: 107.9 kB / 1.294 GB, free: 244 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.4741, allocations: 44.2 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4751, allocations: 474.9 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.4753, allocations: 154.9 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.4754, allocations: 22.3 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.4755, allocations: 27.42 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/0.4755, allocations: 4 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.008185/0.4837, allocations: 3.036 MB / 1.298 GB, free: 12.5 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.929411008954048]