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.001454/0.001454, allocations: 80.3 kB / 21.47 MB, free: 3.027 MB / 18.57 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.001616/0.001616, allocations: 169.9 kB / 24.86 MB, free: 9.262 MB / 18.57 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 0.9379/0.9379, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.858/1.858, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8128 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.933e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004004/0.004033, allocations: 2.067 MB / 0.8148 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.005442, allocations: 0.7783 MB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.00562, allocations: 7.938 kB / 0.8155 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.005791, allocations: 39.53 kB / 0.8156 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.00592, allocations: 44.72 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.006498, allocations: 180.4 kB / 0.8158 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.006971, allocations: 420.4 kB / 0.8162 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.00733, allocations: 206.5 kB / 0.8164 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.007654, allocations: 211.6 kB / 0.8166 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.007849, allocations: 111.6 kB / 0.8167 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.007905, allocations: 36 kB / 0.8167 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.008005, allocations: 53.72 kB / 0.8168 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/0.008087, allocations: 79.73 kB / 0.8169 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.008193, allocations: 103.7 kB / 0.817 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.008582, allocations: 267 kB / 0.8172 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.008587, allocations: 0.8125 kB / 0.8172 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.253e-06/0.008588, allocations: 0 / 0.8172 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.008594, allocations: 0 / 0.8172 GB, free: 12.94 MB / 0.7761 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.000827/0.009421, allocations: 0.6062 MB / 0.8178 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.009462, allocations: 12.56 kB / 0.8178 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/0.009868, allocations: 85.92 kB / 0.8179 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.01018, allocations: 216.1 kB / 0.8181 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.01022, allocations: 25.56 kB / 0.8181 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.01026, allocations: 29.75 kB / 0.8182 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.01067, allocations: 236 kB / 0.8184 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.01068, allocations: 4.188 kB / 0.8184 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.01071, allocations: 9.531 kB / 0.8184 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.01072, allocations: 11.94 kB / 0.8184 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.01094, allocations: 84.45 kB / 0.8185 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.01223, allocations: 0.7934 MB / 0.8193 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.01256, allocations: 152.9 kB / 0.8194 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.01266, allocations: 68.8 kB / 0.8195 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.01269, allocations: 8.234 kB / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.01288, allocations: 106.5 kB / 0.8196 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 3.046e-06/0.01288, allocations: 0 / 0.8196 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.000444/0.01333, allocations: 210.4 kB / 0.8198 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.01338, allocations: 64.17 kB / 0.8198 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.01358, allocations: 251.1 kB / 0.8201 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.01362, allocations: 38.92 kB / 0.8201 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.01402, allocations: 211.5 kB / 0.8203 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.0141, allocations: 79.34 kB / 0.8204 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.01422, allocations: 88.56 kB / 0.8205 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.01438, allocations: 0.5079 MB / 0.821 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.01447, allocations: 31.97 kB / 0.821 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.01461, allocations: 118.7 kB / 0.8211 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.01482, allocations: 147.7 kB / 0.8213 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01482, allocations: 0 / 0.8213 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003616/0.01518, allocations: 216.8 kB / 0.8215 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.0152, allocations: 11.94 kB / 0.8215 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01521, allocations: 0 / 0.8215 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01523, allocations: 8.438 kB / 0.8215 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.01543, allocations: 40.44 kB / 0.8215 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01544, allocations: 5.344 kB / 0.8215 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.0156, allocations: 39.77 kB / 0.8216 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.01563, allocations: 8 kB / 0.8216 GB, free: 8.207 MB / 0.7761 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.suspend,heaCon.stateGraphRoot.resume) * 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.0001622/0.01579, allocations: 190.1 kB / 0.8218 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.01584, allocations: 28.56 kB / 0.8218 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.0159, allocations: 30.66 kB / 0.8218 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.0159, allocations: 10.91 kB / 0.8218 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.0159, allocations: 0 / 0.8218 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.01591, allocations: 7.984 kB / 0.8218 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.01668, allocations: 0.5343 MB / 0.8224 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01669, allocations: 0 / 0.8224 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.01682, allocations: 27.92 kB / 0.8224 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.01682, allocations: 3.938 kB / 0.8224 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.01684, allocations: 14.55 kB / 0.8224 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01685, allocations: 0 / 0.8224 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01685, allocations: 0 / 0.8224 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.0172, allocations: 332.7 kB / 0.8227 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.01724, allocations: 27.73 kB / 0.8227 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.01727, allocations: 11.98 kB / 0.8228 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.01742, allocations: 20.92 kB / 0.8228 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.01752, allocations: 31.94 kB / 0.8228 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.01753, allocations: 4 kB / 0.8228 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.153e-05/0.01762, allocations: 166.7 kB / 0.823 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01762, allocations: 0 / 0.823 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003345/0.01796, allocations: 59.89 kB / 0.823 GB, free: 6.676 MB / 0.7761 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.0001408/0.0181, allocations: 115.3 kB / 0.8231 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003096/0.01841, allocations: 152.5 kB / 0.8233 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.01841, allocations: 0 / 0.8233 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.01855, allocations: 80.06 kB / 0.8234 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.01893, allocations: 37.42 kB / 0.8234 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.01988, allocations: 448.4 kB / 0.8238 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.097e-05/0.01996, allocations: 88.31 kB / 0.8239 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.02007, allocations: 24.52 kB / 0.8239 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.02023, allocations: 118.2 kB / 0.824 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of SimCode: time 9.91e-07/0.02024, allocations: 0 / 0.824 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of Templates: time 0.007889/0.02812, allocations: 3.225 MB / 0.8272 GB, free: 2.426 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.994670814834535]