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.0009534/0.0009534, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001738/0.001738, allocations: 181 kB / 24.09 MB, free: 412 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.948/0.948, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.716/1.716, allocations: 359 MB / 0.6055 GB, free: 10.86 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.192e-06/1.192e-06, allocations: 0 / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.966e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002355/0.002374, allocations: 2.068 MB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.003414, allocations: 0.7666 MB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.003527, allocations: 8 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.00365, allocations: 40.22 kB / 0.7904 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.003731, allocations: 44.44 kB / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.00413, allocations: 184.3 kB / 0.7906 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.004426, allocations: 410.5 kB / 0.791 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.004663, allocations: 208.5 kB / 0.7912 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.004889, allocations: 211.6 kB / 0.7914 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.005017, allocations: 111.7 kB / 0.7915 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.005052, allocations: 36 kB / 0.7915 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.005123, allocations: 48.66 kB / 0.7916 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.00518, allocations: 83.73 kB / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.005246, allocations: 101.4 kB / 0.7917 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.005494, allocations: 271 kB / 0.792 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005496, allocations: 3.984 kB / 0.792 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005497, allocations: 0 / 0.792 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.005501, allocations: 1.094 kB / 0.792 GB, free: 7.633 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.0005459/0.006047, allocations: 0.6019 MB / 0.7926 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.006082, allocations: 8.031 kB / 0.7926 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.006325, allocations: 94 kB / 0.7927 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.006516, allocations: 216.1 kB / 0.7929 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.006545, allocations: 30.62 kB / 0.7929 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.006572, allocations: 32.31 kB / 0.7929 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.006828, allocations: 236 kB / 0.7932 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006836, allocations: 4.125 kB / 0.7932 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.006854, allocations: 13.53 kB / 0.7932 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.006861, allocations: 11.94 kB / 0.7932 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.006967, allocations: 80.52 kB / 0.7933 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007846/0.007752, allocations: 0.8019 MB / 0.7941 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.007938, allocations: 147.9 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.007995, allocations: 56.64 kB / 0.7942 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.008015, allocations: 9.078 kB / 0.7943 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.008126, allocations: 109.2 kB / 0.7944 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.008129, allocations: 0.8438 kB / 0.7944 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0002591/0.008388, allocations: 214.6 kB / 0.7946 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.008417, allocations: 59.92 kB / 0.7946 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.008537, allocations: 255 kB / 0.7949 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.008561, allocations: 39.08 kB / 0.7949 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.008648, allocations: 211.5 kB / 0.7951 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.008697, allocations: 79.34 kB / 0.7952 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.473e-05/0.008782, allocations: 91.23 kB / 0.7953 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.008902, allocations: 0.5091 MB / 0.7958 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.008948, allocations: 31.97 kB / 0.7958 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.009027, allocations: 109.9 kB / 0.7959 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.009154, allocations: 145.8 kB / 0.796 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.009156, allocations: 0 / 0.796 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002095/0.009366, allocations: 218.8 kB / 0.7962 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.009378, allocations: 8 kB / 0.7963 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.009383, allocations: 0 / 0.7963 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.009396, allocations: 8.844 kB / 0.7963 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.009499, allocations: 39.91 kB / 0.7963 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.009502, allocations: 2.219 kB / 0.7963 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.009576, allocations: 43.77 kB / 0.7963 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.009588, allocations: 8 kB / 0.7964 GB, free: 2.91 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.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.0001001/0.009688, allocations: 199.6 kB / 0.7965 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.009716, allocations: 27.91 kB / 0.7966 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.009758, allocations: 26.66 kB / 0.7966 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.009762, allocations: 7.938 kB / 0.7966 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.009766, allocations: 3.984 kB / 0.7966 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.009772, allocations: 3.984 kB / 0.7966 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.01024, allocations: 0.5382 MB / 0.7971 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01024, allocations: 1.188 kB / 0.7971 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.01031, allocations: 27.92 kB / 0.7972 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.01031, allocations: 3.938 kB / 0.7972 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.01033, allocations: 16.58 kB / 0.7972 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01033, allocations: 0 / 0.7972 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01033, allocations: 0.5625 kB / 0.7972 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.01052, allocations: 325.8 kB / 0.7975 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.01054, allocations: 23.73 kB / 0.7975 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01056, allocations: 11.98 kB / 0.7975 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.01063, allocations: 16.89 kB / 0.7975 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.01068, allocations: 37.03 kB / 0.7976 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.01069, allocations: 4 kB / 0.7976 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.01075, allocations: 161.1 kB / 0.7977 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01075, allocations: 0.6562 kB / 0.7977 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001886/0.01094, allocations: 59.89 kB / 0.7978 GB, free: 1.383 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 9.524e-05/0.01103, allocations: 114.8 kB / 0.7979 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.0112, allocations: 151 kB / 0.7981 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01121, allocations: 4 kB / 0.7981 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.01129, allocations: 84 kB / 0.7981 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01151, allocations: 41.8 kB / 0.7982 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.01211, allocations: 442.7 kB / 0.7986 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.01216, allocations: 93.28 kB / 0.7987 GB, free: 428 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.7e-05/0.01223, allocations: 20.48 kB / 0.7987 GB, free: 412 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.01234, allocations: 118.2 kB / 0.7988 GB, free: 292 kB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01234, allocations: 0.9375 kB / 0.7988 GB, free: 292 kB / 0.7448 GB Notification: Performance of Templates: time 0.004838/0.01718, allocations: 3.137 MB / 0.8019 GB, free: 13.21 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.810569453053176]