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.001799/0.001799, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002407/0.002407, allocations: 218 kB / 22.26 MB, free: 5.125 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.718/1.718, allocations: 230.6 MB / 256 MB, free: 7.992 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.952/2.952, allocations: 476.7 MB / 0.7706 GB, free: 4.312 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.002184/0.002184, allocations: 71.58 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4639, allocations: 169.9 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003916/0.4678, allocations: 2.089 MB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.4693, allocations: 0.7987 MB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.4695, allocations: 7.938 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.4697, allocations: 39.53 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.4698, allocations: 43.59 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.4704, allocations: 183.7 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005398/0.4709, allocations: 415.1 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.4713, allocations: 200.4 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.4715, allocations: 151.5 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.4718, allocations: 147.3 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.4718, allocations: 44 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.4719, allocations: 51.98 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.472, allocations: 79.77 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.4722, allocations: 147.2 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.4727, allocations: 434.3 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4727, allocations: 0 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4727, allocations: 0 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.4727, allocations: 0 / 1.288 GB, free: 6.473 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.0009393/0.4737, allocations: 0.5128 MB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4737, allocations: 12.03 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/0.4741, allocations: 60.7 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.4746, allocations: 218.5 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.4746, allocations: 25.03 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.4747, allocations: 32.38 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.4753, allocations: 321.3 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4753, allocations: 0 / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.4753, allocations: 12 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.4753, allocations: 8 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.4758, allocations: 234.5 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.4773, allocations: 0.8827 MB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.4778, allocations: 231.3 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.478, allocations: 105.2 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.4781, allocations: 4.234 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.4783, allocations: 164.7 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.4783, allocations: 0 / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0006915/0.479, allocations: 322 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.4791, allocations: 59.39 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.4793, allocations: 213.1 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.4794, allocations: 41.7 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.4795, allocations: 156.8 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/0.4795, allocations: 79.28 kB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.4797, allocations: 81.67 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4798, allocations: 342.8 kB / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.48, allocations: 95.91 kB / 1.293 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4803, allocations: 148.8 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.4807, allocations: 213.1 kB / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4807, allocations: 0 / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005371/0.4812, allocations: 312.6 kB / 1.293 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4812, allocations: 4 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4812, allocations: 4 kB / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4812, allocations: 4 kB / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.4814, allocations: 39.91 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.4815, allocations: 4 kB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.4817, allocations: 43.75 kB / 1.293 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.4817, allocations: 16 kB / 1.293 GB, free: 1.309 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.0001805/0.4819, allocations: 181.7 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.4819, allocations: 23.86 kB / 1.293 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.482, allocations: 30.64 kB / 1.294 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.482, allocations: 4 kB / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.482, allocations: 0 / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.482, allocations: 0 / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.483, allocations: 0.6889 MB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.483, allocations: 0 / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.4831, allocations: 23.98 kB / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4831, allocations: 0 / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.4832, allocations: 8 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.4832, allocations: 3.938 kB / 1.294 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4832, allocations: 0 / 1.294 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.4837, allocations: 349.5 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.4837, allocations: 23.8 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.4837, allocations: 7.984 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.4839, allocations: 23.97 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.484, allocations: 47.88 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.484, allocations: 4 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000126/0.4842, allocations: 139.2 kB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4842, allocations: 0 / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000303/0.4845, allocations: 63.83 kB / 1.295 GB, free: 15.63 MB / 0.9981 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.0001444/0.4846, allocations: 120.9 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.4851, allocations: 233.3 kB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4851, allocations: 8.25 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.4854, allocations: 107.9 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.4857, allocations: 43.95 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.4866, allocations: 474.5 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.487, allocations: 0.7635 MB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.4871, allocations: 34.27 kB / 1.297 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.47e-05/0.4872, allocations: 27.44 kB / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4872, allocations: 0 / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.007236/0.4944, allocations: 2.984 MB / 1.3 GB, free: 10.82 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: 10.284408581908792]