Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001007/0.001007, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009291/0.0009291, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9059/0.9059, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.676/1.676, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.955e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002733/0.002762, allocations: 2.09 MB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003889, allocations: 0.7671 MB / 0.7899 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.004027, allocations: 7.938 kB / 0.7899 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.00417, allocations: 35.59 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.699e-05/0.004267, allocations: 44.5 kB / 0.79 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.004759, allocations: 184.4 kB / 0.7901 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.005112, allocations: 413.6 kB / 0.7905 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.005399, allocations: 221.8 kB / 0.7907 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.005662, allocations: 207.6 kB / 0.7909 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.005806, allocations: 105.3 kB / 0.791 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.005846, allocations: 40 kB / 0.7911 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.079e-05/0.005927, allocations: 55.88 kB / 0.7911 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.005993, allocations: 79.73 kB / 0.7912 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.006082, allocations: 103.7 kB / 0.7913 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.006386, allocations: 267.6 kB / 0.7916 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.006389, allocations: 0.6562 kB / 0.7916 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006391, allocations: 3.938 kB / 0.7916 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.006396, allocations: 1 kB / 0.7916 GB, free: 8.254 MB / 0.7448 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.0006777/0.007074, allocations: 0.6064 MB / 0.7922 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.007112, allocations: 8.031 kB / 0.7922 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.007419, allocations: 80.67 kB / 0.7922 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.007686, allocations: 222.1 kB / 0.7925 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.007721, allocations: 25.02 kB / 0.7925 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.007754, allocations: 36.31 kB / 0.7925 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.008111, allocations: 253.5 kB / 0.7928 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.008123, allocations: 192 / 0.7928 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.008147, allocations: 12.38 kB / 0.7928 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.008158, allocations: 7.938 kB / 0.7928 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.008354, allocations: 105.8 kB / 0.7929 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009164/0.00927, allocations: 0.8385 MB / 0.7937 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.009549, allocations: 162.7 kB / 0.7938 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.009644, allocations: 64.83 kB / 0.7939 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.009666, allocations: 4.234 kB / 0.7939 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.009831, allocations: 129.1 kB / 0.794 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 2.715e-06/0.009834, allocations: 0 / 0.794 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0003902/0.01022, allocations: 235.2 kB / 0.7943 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.01027, allocations: 56.12 kB / 0.7943 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.01042, allocations: 254.6 kB / 0.7946 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.01044, allocations: 38.23 kB / 0.7946 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.01055, allocations: 207.4 kB / 0.7948 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.0106, allocations: 81 kB / 0.7949 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.01069, allocations: 87.3 kB / 0.795 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01082, allocations: 0.504 MB / 0.7954 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.0109, allocations: 43.97 kB / 0.7955 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.01102, allocations: 118.6 kB / 0.7956 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.0112, allocations: 156.6 kB / 0.7957 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.0112, allocations: 0 / 0.7957 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002945/0.0115, allocations: 235.7 kB / 0.796 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.01151, allocations: 6.188 kB / 0.796 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.01152, allocations: 7.938 kB / 0.796 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.01154, allocations: 1.125 kB / 0.796 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.01168, allocations: 47.84 kB / 0.796 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01168, allocations: 4 kB / 0.796 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.01177, allocations: 40.61 kB / 0.7961 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.01178, allocations: 13.44 kB / 0.7961 GB, free: 3.359 MB / 0.7448 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.0001121/0.01189, allocations: 193.6 kB / 0.7963 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.01192, allocations: 27.91 kB / 0.7963 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.01197, allocations: 30.59 kB / 0.7963 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01197, allocations: 5.969 kB / 0.7963 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01198, allocations: 0 / 0.7963 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.01198, allocations: 3.984 kB / 0.7963 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.01261, allocations: 0.5884 MB / 0.7969 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01261, allocations: 0 / 0.7969 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.0127, allocations: 42.23 kB / 0.797 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01271, allocations: 0 / 0.797 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.01273, allocations: 11.98 kB / 0.797 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01273, allocations: 0 / 0.797 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01273, allocations: 0 / 0.797 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.01302, allocations: 344.7 kB / 0.7973 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.01304, allocations: 24.27 kB / 0.7973 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.01307, allocations: 8 kB / 0.7973 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.01316, allocations: 25.16 kB / 0.7973 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.01325, allocations: 27.94 kB / 0.7974 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.01326, allocations: 9.094 kB / 0.7974 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.764e-05/0.01335, allocations: 165.1 kB / 0.7975 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01335, allocations: 0 / 0.7975 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002234/0.01358, allocations: 64.53 kB / 0.7976 GB, free: 1.75 MB / 0.7448 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.0001424/0.01372, allocations: 125.2 kB / 0.7977 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.01402, allocations: 164.5 kB / 0.7979 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01402, allocations: 0 / 0.7979 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01414, allocations: 88.03 kB / 0.798 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.01445, allocations: 49.55 kB / 0.798 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.01537, allocations: 453.8 kB / 0.7984 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.01544, allocations: 89.2 kB / 0.7985 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.942e-05/0.01552, allocations: 24.53 kB / 0.7986 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.01559, allocations: 33.77 kB / 0.7986 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.01559, allocations: 0 / 0.7986 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of Templates: time 0.005953/0.02155, allocations: 2.891 MB / 0.8014 GB, free: 13.86 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.901253549847752]