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.001618/0.001618, 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.001845/0.001845, allocations: 211.5 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.805 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.241/3.241, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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.002063/0.002063, allocations: 71.05 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3514, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003851/0.3553, allocations: 2.008 MB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.357, allocations: 0.7559 MB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.3572, allocations: 4 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.3573, allocations: 43.48 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.3575, allocations: 39.59 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.3582, allocations: 179.7 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.3587, allocations: 403.2 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.3591, allocations: 200.3 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.3594, allocations: 143.5 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.3596, allocations: 131.3 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.3597, allocations: 40 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3598, allocations: 51.92 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.3599, allocations: 87.69 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.36, allocations: 123.4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.3605, allocations: 430.3 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3605, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3605, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3606, allocations: 0 / 1.33 GB, free: 13.25 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.001096/0.3617, allocations: 0.5089 MB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3617, allocations: 12.03 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.3622, allocations: 60.7 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.3627, allocations: 222.6 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.3627, allocations: 33.02 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.3627, allocations: 28.38 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.3634, allocations: 313.3 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3634, allocations: 0 / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.3634, allocations: 15.94 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3635, allocations: 8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.364, allocations: 238.5 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.3656, allocations: 0.7546 MB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.3661, allocations: 223.5 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.3664, allocations: 109.3 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.3664, allocations: 4.234 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.3667, allocations: 159.4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/0.3667, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007706/0.3675, allocations: 326.7 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.3676, allocations: 55.41 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3678, allocations: 207.1 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.3678, allocations: 37.7 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.368, allocations: 156.8 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.3681, allocations: 83.36 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3682, allocations: 81.69 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3684, allocations: 334.8 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3686, allocations: 91.95 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.3689, allocations: 157.7 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.3694, allocations: 221.2 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3694, allocations: 0 / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000598/0.37, allocations: 297 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.37, allocations: 8 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.37, allocations: 0 / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.3701, allocations: 7.984 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.3703, allocations: 40.08 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3703, allocations: 4 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.3705, allocations: 51.62 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.3705, allocations: 19.98 kB / 1.335 GB, free: 8.234 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.0002012/0.3708, allocations: 165.8 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.3708, allocations: 23.8 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-05/0.3709, allocations: 34.64 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3709, allocations: 11.94 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3709, allocations: 0 / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3709, allocations: 0 / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3719, allocations: 0.6036 MB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.3719, allocations: 0 / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3721, allocations: 27.92 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3721, allocations: 7.984 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.3721, allocations: 4 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3721, allocations: 0 / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3721, allocations: 4 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.3726, allocations: 344.2 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.3727, allocations: 19.8 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.3727, allocations: 8 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3729, allocations: 23.97 kB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.373, allocations: 35.94 kB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.373, allocations: 16 kB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001226/0.3731, allocations: 132.1 kB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3731, allocations: 4 kB / 1.336 GB, free: 6.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003251/0.3735, allocations: 63.84 kB / 1.336 GB, free: 6.664 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.0001503/0.3736, allocations: 112.9 kB / 1.336 GB, free: 6.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.3742, allocations: 236.6 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3742, allocations: 320 / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.3744, allocations: 119.8 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3748, allocations: 45.58 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/0.3757, allocations: 458.7 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.3759, allocations: 150.9 kB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.376, allocations: 30.28 kB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.3761, allocations: 23.44 kB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3761, allocations: 4 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of Templates: time 0.007449/0.3835, allocations: 3.032 MB / 1.34 GB, free: 2.465 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 -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/jenkins/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.97900191694498]