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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 189.8 kB / 22.1 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.121/3.121, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.58 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3372, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003736/0.341, allocations: 2.061 MB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001384/0.3423, allocations: 0.7169 MB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3425, allocations: 7.938 kB / 1.309 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.3426, allocations: 39.61 kB / 1.309 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3428, allocations: 43.58 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.3433, allocations: 159.8 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004813/0.3437, allocations: 407.1 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.3441, allocations: 208.3 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3443, allocations: 139.5 kB / 1.31 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.3445, allocations: 147.4 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.3446, allocations: 36 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3447, allocations: 51.98 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.877e-05/0.3448, allocations: 83.75 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.3449, allocations: 147.3 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.3455, allocations: 430.3 kB / 1.311 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3455, allocations: 0 / 1.311 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.743e-06/0.3455, allocations: 0 / 1.311 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.134e-06/0.3455, allocations: 4 kB / 1.311 GB, free: 13.21 MB / 1.014 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.0008871/0.3464, allocations: 0.5012 MB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3464, allocations: 8.031 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.3465, allocations: 32.75 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.3469, allocations: 222 kB / 1.312 GB, free: 12.4 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.3469, allocations: 25.03 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.347, allocations: 36.38 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.3476, allocations: 317.4 kB / 1.312 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3476, allocations: 0 / 1.312 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.3476, allocations: 12 kB / 1.312 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.3476, allocations: 8 kB / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.3481, allocations: 234.4 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.3496, allocations: 0.8944 MB / 1.313 GB, free: 10.82 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.3501, allocations: 222.3 kB / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.3504, allocations: 113.2 kB / 1.314 GB, free: 10.49 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.3504, allocations: 4.234 kB / 1.314 GB, free: 10.48 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.3507, allocations: 155.5 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.3507, allocations: 4 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of matching and sorting (n=30): time 0.0007197/0.3514, allocations: 326.2 kB / 1.314 GB, free: 9.992 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.3515, allocations: 63.33 kB / 1.314 GB, free: 9.918 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3517, allocations: 209.3 kB / 1.315 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.3517, allocations: 37.7 kB / 1.315 GB, free: 9.664 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3518, allocations: 152.8 kB / 1.315 GB, free: 9.512 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.3519, allocations: 79.38 kB / 1.315 GB, free: 9.434 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3521, allocations: 85.67 kB / 1.315 GB, free: 9.344 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001664/0.3522, allocations: 334.8 kB / 1.315 GB, free: 9.008 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.3524, allocations: 95.95 kB / 1.315 GB, free: 8.914 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.3527, allocations: 153.5 kB / 1.315 GB, free: 8.746 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.3531, allocations: 210 kB / 1.316 GB, free: 8.523 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3531, allocations: 0 / 1.316 GB, free: 8.523 MB / 1.014 GB
Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005513/0.3536, allocations: 317.4 kB / 1.316 GB, free: 8.207 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3536, allocations: 4 kB / 1.316 GB, free: 8.203 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3536, allocations: 4 kB / 1.316 GB, free: 8.199 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3537, allocations: 4 kB / 1.316 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.3539, allocations: 43.84 kB / 1.316 GB, free: 8.152 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3539, allocations: 4 kB / 1.316 GB, free: 8.148 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.3541, allocations: 47.91 kB / 1.316 GB, free: 8.102 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.3541, allocations: 16 kB / 1.316 GB, free: 8.086 MB / 1.014 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.0001774/0.3543, allocations: 177.6 kB / 1.316 GB, free: 7.902 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.3543, allocations: 23.86 kB / 1.316 GB, free: 7.879 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/0.3549, allocations: 293.4 kB / 1.317 GB, free: 7.59 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3549, allocations: 0 / 1.317 GB, free: 7.59 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3549, allocations: 4 kB / 1.317 GB, free: 7.586 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3549, allocations: 7.984 kB / 1.317 GB, free: 7.578 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.356, allocations: 0.6934 MB / 1.317 GB, free: 6.836 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.356, allocations: 0 / 1.317 GB, free: 6.836 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.3561, allocations: 23.98 kB / 1.317 GB, free: 6.812 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3561, allocations: 0 / 1.317 GB, free: 6.812 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3561, allocations: 11.98 kB / 1.317 GB, free: 6.801 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3561, allocations: 4 kB / 1.317 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3561, allocations: 0 / 1.317 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.3566, allocations: 360.2 kB / 1.318 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.3567, allocations: 23.73 kB / 1.318 GB, free: 6.402 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.3567, allocations: 8 kB / 1.318 GB, free: 6.395 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.3569, allocations: 31.95 kB / 1.318 GB, free: 6.363 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.357, allocations: 39.88 kB / 1.318 GB, free: 6.324 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.357, allocations: 12 kB / 1.318 GB, free: 6.312 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001153/0.3572, allocations: 136.2 kB / 1.318 GB, free: 6.18 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3572, allocations: 0 / 1.318 GB, free: 6.18 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003221/0.3575, allocations: 67.88 kB / 1.318 GB, free: 6.113 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$cse1,$cse2,$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 (32):
 * Single equations (assignments): 28
 * 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.0001644/0.3576, allocations: 121.9 kB / 1.318 GB, free: 5.984 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005128/0.3582, allocations: 251.7 kB / 1.318 GB, free: 5.738 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3582, allocations: 0 / 1.318 GB, free: 5.738 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.3584, allocations: 115.8 kB / 1.318 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3587, allocations: 35.97 kB / 1.318 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.3596, allocations: 474.9 kB / 1.319 GB, free: 5.094 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.36, allocations: 0.7641 MB / 1.32 GB, free: 4.301 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001052/0.3601, allocations: 30.27 kB / 1.32 GB, free: 4.27 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.3602, allocations: 27.42 kB / 1.32 GB, free: 4.242 MB / 1.014 GB
Notification: Performance of SimCode: time 5.71e-07/0.3602, allocations: 0 / 1.32 GB, free: 4.242 MB / 1.014 GB
Notification: Performance of Templates: time 0.007526/0.3677, allocations: 3.222 MB / 1.323 GB, free: 1.047 MB / 1.014 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.64439033716917]