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.001373/0.001373, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.001547/0.001547, allocations: 214.4 kB / 23 MB, free: 4.945 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.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 3.192/3.192, allocations: 0.49 GB / 0.7959 GB, free: 35.25 MB / 0.6231 GB " [Timeout remaining time 176] 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.002123/0.002123, allocations: 67.94 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3583, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003628/0.3619, allocations: 2.019 MB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3634, allocations: 0.7598 MB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.3635, allocations: 4 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.3637, allocations: 43.53 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.3638, allocations: 39.59 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.3643, allocations: 175.7 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000484/0.3648, allocations: 407.2 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.3652, allocations: 208.4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.3654, allocations: 143.5 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.3656, allocations: 147.4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.3657, allocations: 36 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3658, allocations: 51.94 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.3658, allocations: 83.75 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.366, allocations: 119.4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.3665, allocations: 434.3 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3665, allocations: 7.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3665, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3665, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 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.0009341/0.3674, allocations: 0.5167 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3675, allocations: 12.02 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004708/0.368, allocations: 56.72 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.3684, allocations: 226.6 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.3684, allocations: 21.03 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.3685, allocations: 32.38 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.3691, allocations: 325.3 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3691, allocations: 0 / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.3692, allocations: 12 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3692, allocations: 4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.3697, allocations: 234.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.3711, allocations: 0.7584 MB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.3716, allocations: 227.5 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3718, allocations: 97.28 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3719, allocations: 4.234 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.3722, allocations: 167.4 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.3722, allocations: 0 / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007527/0.3729, allocations: 326.8 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.373, allocations: 59.39 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.3732, allocations: 195.1 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.3732, allocations: 45.69 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3733, allocations: 156.8 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.3734, allocations: 83.38 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3735, allocations: 77.67 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3737, allocations: 342.8 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.3739, allocations: 95.89 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.3742, allocations: 153.7 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.3746, allocations: 217.2 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3746, allocations: 4 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005578/0.3751, allocations: 304.8 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3751, allocations: 4 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3752, allocations: 4 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3752, allocations: 0 / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.3754, allocations: 43.91 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3754, allocations: 12.09 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.3756, allocations: 47.75 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.3756, allocations: 11.94 kB / 1.336 GB, free: 7.273 MB / 1.029 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.0001818/0.3758, allocations: 175.5 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.3759, allocations: 27.8 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.64e-05/0.3759, allocations: 30.64 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3759, allocations: 0 / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.376, allocations: 8 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.376, allocations: 0 / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.377, allocations: 0.6036 MB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.377, allocations: 0 / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3771, allocations: 31.92 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3771, allocations: 0 / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.3772, allocations: 4 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.3772, allocations: 7.984 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3772, allocations: 0 / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.3777, allocations: 340.2 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.3777, allocations: 27.78 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.3777, allocations: 4 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.378, allocations: 23.97 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3781, allocations: 39.94 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3781, allocations: 8 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000103/0.3782, allocations: 124.1 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3782, allocations: 0 / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003238/0.3785, allocations: 71.83 kB / 1.338 GB, free: 5.703 MB / 1.029 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.0001543/0.3787, allocations: 124.9 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005161/0.3792, allocations: 228.5 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3792, allocations: 8 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.3794, allocations: 116.1 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3798, allocations: 38.39 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.3807, allocations: 470.6 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3808, allocations: 150.9 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.3809, allocations: 26.28 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.381, allocations: 27.42 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.381, allocations: 0 / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of Templates: time 0.007513/0.3885, allocations: 3.061 MB / 1.342 GB, free: 1.469 MB / 1.029 GB " [Timeout remaining time 300] 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 cvode -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: 8.802233854992664]