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.0009149/0.0009149, 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.0009323/0.0009323, allocations: 181.3 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 0.9208/0.9208, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.333/2.333, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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 4.389e-06/4.389e-06, allocations: 0 / 0.8386 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.325e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002303/0.002326, allocations: 2.066 MB / 0.8406 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.003364, allocations: 0.7906 MB / 0.8414 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.003468, allocations: 7.938 kB / 0.8414 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.00361, allocations: 31.61 kB / 0.8414 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.893e-05/0.003699, allocations: 47.53 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.00408, allocations: 183.6 kB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.004388, allocations: 411.1 kB / 0.842 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.004621, allocations: 211.2 kB / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.004848, allocations: 211.5 kB / 0.8424 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.004995, allocations: 107.7 kB / 0.8425 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.005032, allocations: 47.94 kB / 0.8426 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.005106, allocations: 51.98 kB / 0.8426 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.005172, allocations: 79.73 kB / 0.8427 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.005244, allocations: 99.73 kB / 0.8428 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.005492, allocations: 267 kB / 0.843 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005494, allocations: 0 / 0.843 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.52e-07/0.005495, allocations: 0 / 0.843 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.005498, allocations: 0 / 0.843 GB, free: 9.691 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.0005057/0.006004, allocations: 491.7 kB / 0.8435 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.006035, allocations: 16.62 kB / 0.8435 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.006274, allocations: 76.86 kB / 0.8436 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.006465, allocations: 189.3 kB / 0.8438 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.006491, allocations: 25.03 kB / 0.8438 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.006522, allocations: 32.38 kB / 0.8438 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.006764, allocations: 226.3 kB / 0.844 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006774, allocations: 4.188 kB / 0.844 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.006791, allocations: 8.375 kB / 0.8441 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.0068, allocations: 15.94 kB / 0.8441 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.006913, allocations: 76.48 kB / 0.8441 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.007574, allocations: 0.5677 MB / 0.8447 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.007749, allocations: 127.1 kB / 0.8448 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.007803, allocations: 53.3 kB / 0.8449 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.007822, allocations: 4.234 kB / 0.8449 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.007934, allocations: 119.5 kB / 0.845 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.007936, allocations: 0 / 0.845 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.000206/0.008142, allocations: 158.5 kB / 0.8451 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.00818, allocations: 67.34 kB / 0.8452 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.008282, allocations: 196.4 kB / 0.8454 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.008304, allocations: 37.7 kB / 0.8454 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.008369, allocations: 152.7 kB / 0.8456 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.008414, allocations: 83.34 kB / 0.8456 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.008482, allocations: 73.64 kB / 0.8457 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.008564, allocations: 338.8 kB / 0.846 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.008607, allocations: 31.92 kB / 0.8461 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.008678, allocations: 89.09 kB / 0.8462 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.008798, allocations: 138.2 kB / 0.8463 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.008801, allocations: 0 / 0.8463 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000174/0.008975, allocations: 169 kB / 0.8464 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.008986, allocations: 8.156 kB / 0.8465 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008991, allocations: 0 / 0.8465 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.009002, allocations: 4 kB / 0.8465 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.009109, allocations: 47.84 kB / 0.8465 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.009113, allocations: 4 kB / 0.8465 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.009186, allocations: 35.77 kB / 0.8465 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.009198, allocations: 12 kB / 0.8466 GB, free: 5.863 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 9.208e-05/0.00929, allocations: 149.7 kB / 0.8467 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.009313, allocations: 27.97 kB / 0.8467 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.009349, allocations: 26.66 kB / 0.8468 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.00935, allocations: 0 / 0.8468 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.009355, allocations: 7.938 kB / 0.8468 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.00936, allocations: 3.984 kB / 0.8468 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.009743, allocations: 388.4 kB / 0.8471 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.009745, allocations: 0 / 0.8471 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.009814, allocations: 27.98 kB / 0.8472 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.009817, allocations: 3.938 kB / 0.8472 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.009828, allocations: 15.98 kB / 0.8472 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.009831, allocations: 0 / 0.8472 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.009833, allocations: 3.938 kB / 0.8472 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.009979, allocations: 228.7 kB / 0.8474 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.009998, allocations: 27.78 kB / 0.8474 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.01002, allocations: 11.94 kB / 0.8474 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.01009, allocations: 15.98 kB / 0.8475 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.01014, allocations: 31.94 kB / 0.8475 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.01015, allocations: 8 kB / 0.8475 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.186e-05/0.01018, allocations: 45.66 kB / 0.8475 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01018, allocations: 0 / 0.8475 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001685/0.01035, allocations: 63.89 kB / 0.8476 GB, free: 4.742 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 9.087e-05/0.01044, allocations: 98.34 kB / 0.8477 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.0106, allocations: 136.7 kB / 0.8478 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.01061, allocations: 3.938 kB / 0.8478 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.01068, allocations: 76.75 kB / 0.8479 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01087, allocations: 48.2 kB / 0.8479 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.01144, allocations: 440.3 kB / 0.8484 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.908e-05/0.01149, allocations: 84.31 kB / 0.8484 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.044e-05/0.01156, allocations: 34.27 kB / 0.8485 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01167, allocations: 95.34 kB / 0.8486 GB, free: 3.691 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.01167, allocations: 0 / 0.8486 GB, free: 3.691 MB / 0.8073 GB Notification: Performance of Templates: time 0.004631/0.0163, allocations: 3.017 MB / 0.8515 GB, free: 0.7422 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 -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.06674763886258]