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.000995/0.000995, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009366/0.0009366, allocations: 173 kB / 23.49 MB, free: 1.055 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.8947/0.8947, allocations: 177.1 MB / 203.8 MB, free: 5.637 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 1.975/1.975, allocations: 429.5 MB / 0.6736 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.353e-06/1.353e-06, allocations: 0 / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.498e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.008845/0.00886, allocations: 2.104 MB / 0.8802 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.01002, allocations: 0.7693 MB / 0.881 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.01015, allocations: 15.84 kB / 0.881 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.01029, allocations: 35.59 kB / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.0104, allocations: 47.53 kB / 0.8811 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.01084, allocations: 179.6 kB / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00339/0.01423, allocations: 411.1 kB / 0.8816 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.01451, allocations: 201.5 kB / 0.8818 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.01476, allocations: 211.6 kB / 0.882 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.01491, allocations: 108.7 kB / 0.8821 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.01495, allocations: 36 kB / 0.8822 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.01503, allocations: 53.06 kB / 0.8822 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.01511, allocations: 87.72 kB / 0.8823 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.0152, allocations: 103.7 kB / 0.8824 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.01551, allocations: 264.1 kB / 0.8827 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01552, allocations: 0 / 0.8827 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.92e-07/0.01552, allocations: 0 / 0.8827 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.01552, allocations: 5 kB / 0.8827 GB, free: 2.09 MB / 0.8386 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.0006905/0.01621, allocations: 0.6134 MB / 0.8833 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01625, allocations: 12.03 kB / 0.8833 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/0.01659, allocations: 80.16 kB / 0.8833 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.01688, allocations: 224.1 kB / 0.8836 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.01691, allocations: 29.03 kB / 0.8836 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.01695, allocations: 28.38 kB / 0.8836 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.01762, allocations: 255.9 kB / 0.8839 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01763, allocations: 192 / 0.8839 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.01766, allocations: 13.41 kB / 0.8839 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.01767, allocations: 11.94 kB / 0.8839 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.01793, allocations: 103.9 kB / 0.884 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.01895, allocations: 0.8366 MB / 0.8848 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.01927, allocations: 162.5 kB / 0.885 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.01939, allocations: 68.12 kB / 0.885 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.01941, allocations: 4.234 kB / 0.885 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.01959, allocations: 127.2 kB / 0.8851 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.664e-06/0.01959, allocations: 0 / 0.8851 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.0004463/0.02004, allocations: 231.7 kB / 0.8854 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.02008, allocations: 67.39 kB / 0.8854 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.02024, allocations: 246.6 kB / 0.8857 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.02027, allocations: 37.7 kB / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.02037, allocations: 207.5 kB / 0.8859 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.02043, allocations: 79.36 kB / 0.886 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.02054, allocations: 87.34 kB / 0.8861 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.02065, allocations: 0.504 MB / 0.8865 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-05/0.02073, allocations: 47.91 kB / 0.8866 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.02092, allocations: 122.7 kB / 0.8867 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.02111, allocations: 159.9 kB / 0.8869 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02111, allocations: 0 / 0.8869 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002596/0.02137, allocations: 240.6 kB / 0.8871 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.02138, allocations: 8 kB / 0.8871 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.02139, allocations: 3.938 kB / 0.8871 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.0214, allocations: 4 kB / 0.8871 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.02152, allocations: 48 kB / 0.8872 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.02153, allocations: 4 kB / 0.8872 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.0216, allocations: 39.77 kB / 0.8872 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.02162, allocations: 8 kB / 0.8872 GB, free: 13.16 MB / 0.8542 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 9.935e-05/0.02172, allocations: 196.5 kB / 0.8874 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.02174, allocations: 31.86 kB / 0.8874 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.02178, allocations: 34.59 kB / 0.8875 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.02179, allocations: 4 kB / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.02179, allocations: 0 / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.0218, allocations: 7.984 kB / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.02232, allocations: 0.5837 MB / 0.888 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.02233, allocations: 0 / 0.888 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.02239, allocations: 23.92 kB / 0.8881 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.0224, allocations: 4 kB / 0.8881 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.02241, allocations: 7.984 kB / 0.8881 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.02241, allocations: 4 kB / 0.8881 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.02241, allocations: 0 / 0.8881 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.02265, allocations: 344.7 kB / 0.8884 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.02267, allocations: 19.84 kB / 0.8884 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.02269, allocations: 7.984 kB / 0.8884 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.02276, allocations: 19.98 kB / 0.8884 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.02284, allocations: 35.88 kB / 0.8885 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.02285, allocations: 8 kB / 0.8885 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.02292, allocations: 165.6 kB / 0.8886 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02292, allocations: 0 / 0.8886 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002025/0.02312, allocations: 71.83 kB / 0.8887 GB, free: 11.55 MB / 0.8542 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 8.307e-05/0.0232, allocations: 113.2 kB / 0.8888 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.02344, allocations: 168.2 kB / 0.889 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.02345, allocations: 0 / 0.889 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.02356, allocations: 104 kB / 0.8891 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.0238, allocations: 48.67 kB / 0.8891 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.02447, allocations: 441.5 kB / 0.8895 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.896e-05/0.02452, allocations: 88.31 kB / 0.8896 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.74e-05/0.02459, allocations: 22.3 kB / 0.8897 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.02465, allocations: 28.48 kB / 0.8897 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of SimCode: time 6.82e-07/0.02465, allocations: 0 / 0.8897 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004387/0.02903, allocations: 2.891 MB / 0.8925 GB, free: 7.664 MB / 0.8542 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.089588286122307]