Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001537/0.001537, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001903/0.001903, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.353/2.353, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.306e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002274/0.002287, allocations: 2.114 MB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.00325, allocations: 0.7867 MB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.003343, allocations: 7.938 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.003458, allocations: 35.55 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.00354, allocations: 47.52 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.004109, allocations: 179.6 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.004402, allocations: 411.1 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.004626, allocations: 203.2 kB / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.004822, allocations: 215.6 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.004957, allocations: 111.6 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.004993, allocations: 36 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.005078, allocations: 55.92 kB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.005136, allocations: 79.73 kB / 0.8428 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.005207, allocations: 99.75 kB / 0.8429 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.005452, allocations: 267 kB / 0.8431 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.005454, allocations: 0 / 0.8431 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.1e-07/0.005454, allocations: 0 / 0.8431 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.005459, allocations: 4 kB / 0.8431 GB, free: 9.562 MB / 0.8073 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.0004771/0.005936, allocations: 491.8 kB / 0.8436 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.005965, allocations: 8.625 kB / 0.8436 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.006203, allocations: 76.8 kB / 0.8437 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.006393, allocations: 197.3 kB / 0.8439 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.006419, allocations: 25.03 kB / 0.8439 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.006444, allocations: 28.38 kB / 0.8439 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.006678, allocations: 234.3 kB / 0.8441 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.006688, allocations: 192 / 0.8441 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.006705, allocations: 12.38 kB / 0.8441 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.006713, allocations: 7.938 kB / 0.8441 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.00682, allocations: 76.48 kB / 0.8442 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.007453, allocations: 0.5715 MB / 0.8448 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.007634, allocations: 136.4 kB / 0.8449 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.007684, allocations: 45.31 kB / 0.8449 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.007703, allocations: 8.219 kB / 0.845 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.007812, allocations: 111.5 kB / 0.8451 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.007814, allocations: 0 / 0.8451 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0002112/0.008025, allocations: 158.5 kB / 0.8452 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.00806, allocations: 67.34 kB / 0.8453 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.008161, allocations: 204.4 kB / 0.8455 GB, free: 7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.008182, allocations: 37.7 kB / 0.8455 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.008244, allocations: 144.7 kB / 0.8456 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.008286, allocations: 83.33 kB / 0.8457 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.008357, allocations: 81.64 kB / 0.8458 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.008433, allocations: 334.8 kB / 0.8461 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.008476, allocations: 31.98 kB / 0.8462 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.008544, allocations: 81.09 kB / 0.8462 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.008666, allocations: 146.2 kB / 0.8464 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008668, allocations: 0 / 0.8464 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001676/0.008836, allocations: 169 kB / 0.8465 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.008848, allocations: 8 kB / 0.8465 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.008853, allocations: 3.984 kB / 0.8465 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.008864, allocations: 7.938 kB / 0.8466 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.008998, allocations: 52 kB / 0.8466 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.009001, allocations: 4 kB / 0.8466 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.009075, allocations: 39.77 kB / 0.8466 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.009088, allocations: 12 kB / 0.8467 GB, free: 5.723 MB / 0.8073 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 8.542e-05/0.009173, allocations: 145.7 kB / 0.8468 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.009193, allocations: 15.98 kB / 0.8468 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.009228, allocations: 30.66 kB / 0.8468 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.009232, allocations: 7.984 kB / 0.8468 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.009234, allocations: 7.938 kB / 0.8469 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.009238, allocations: 0 / 0.8469 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.009595, allocations: 392.4 kB / 0.8472 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009596, allocations: 0 / 0.8472 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.00967, allocations: 31.95 kB / 0.8473 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.009673, allocations: 3.938 kB / 0.8473 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.009683, allocations: 8 kB / 0.8473 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.009684, allocations: 0 / 0.8473 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.009685, allocations: 0 / 0.8473 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.009829, allocations: 232.6 kB / 0.8475 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.009846, allocations: 31.8 kB / 0.8475 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.009866, allocations: 7.938 kB / 0.8475 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.009937, allocations: 19.98 kB / 0.8475 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.009996, allocations: 31.94 kB / 0.8476 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.01001, allocations: 7.984 kB / 0.8476 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.01004, allocations: 49.64 kB / 0.8476 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 0.8476 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001686/0.01021, allocations: 59.89 kB / 0.8477 GB, free: 4.605 MB / 0.8073 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 7.44e-05/0.01028, allocations: 102.4 kB / 0.8478 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.01044, allocations: 136.7 kB / 0.8479 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.01044, allocations: 0 / 0.8479 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.6e-05/0.01052, allocations: 72.77 kB / 0.848 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.01069, allocations: 39.92 kB / 0.848 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/0.01125, allocations: 448.6 kB / 0.8485 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.696e-05/0.0113, allocations: 92.27 kB / 0.8485 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002894/0.01159, allocations: 22.28 kB / 0.8486 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.01169, allocations: 91.36 kB / 0.8487 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.01169, allocations: 3.938 kB / 0.8487 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of Templates: time 0.004407/0.0161, allocations: 3.034 MB / 0.8516 GB, free: 0.5938 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.150822780095041]