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.001008/0.001008, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001239/0.001239, allocations: 169.2 kB / 24.86 MB, free: 9.277 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.9682/0.9682, allocations: 177.1 MB / 205.3 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.734/1.734, allocations: 359 MB / 0.6063 GB, free: 10.88 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.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.705e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003862/0.003889, allocations: 2.066 MB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.005381, allocations: 0.7732 MB / 0.7911 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.005533, allocations: 8.5 kB / 0.7911 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.0057, allocations: 39.59 kB / 0.7911 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.005832, allocations: 49.55 kB / 0.7912 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.006387, allocations: 179.6 kB / 0.7913 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000476/0.006863, allocations: 412.1 kB / 0.7917 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.007228, allocations: 206.1 kB / 0.7919 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.007572, allocations: 219.5 kB / 0.7921 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.007784, allocations: 113.5 kB / 0.7922 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.007844, allocations: 36 kB / 0.7923 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/0.007944, allocations: 47.94 kB / 0.7923 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.008029, allocations: 83.73 kB / 0.7924 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.008144, allocations: 99.73 kB / 0.7925 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.008528, allocations: 269.4 kB / 0.7927 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.008531, allocations: 0 / 0.7927 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008532, allocations: 0 / 0.7927 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.008538, allocations: 0 / 0.7927 GB, free: 7.672 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.0008076/0.009346, allocations: 0.6094 MB / 0.7933 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.009389, allocations: 8.031 kB / 0.7933 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004187/0.009807, allocations: 90.31 kB / 0.7934 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.01011, allocations: 220.1 kB / 0.7936 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.01015, allocations: 25.81 kB / 0.7937 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.0102, allocations: 28.38 kB / 0.7937 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.01061, allocations: 228.7 kB / 0.7939 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.01062, allocations: 192 / 0.7939 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.01065, allocations: 21.83 kB / 0.7939 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.01067, allocations: 11.94 kB / 0.7939 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.01087, allocations: 84.45 kB / 0.794 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.01207, allocations: 0.7984 MB / 0.7948 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.01239, allocations: 148.1 kB / 0.7949 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.01249, allocations: 56.81 kB / 0.795 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.01252, allocations: 4.953 kB / 0.795 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.0127, allocations: 113.7 kB / 0.7951 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.01271, allocations: 0 / 0.7951 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0004161/0.01312, allocations: 216.3 kB / 0.7953 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.01316, allocations: 59.34 kB / 0.7954 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.01335, allocations: 250.5 kB / 0.7956 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.01339, allocations: 41.7 kB / 0.7957 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.01351, allocations: 204.1 kB / 0.7958 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.01358, allocations: 83.34 kB / 0.7959 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.01371, allocations: 96.55 kB / 0.796 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01386, allocations: 0.504 MB / 0.7965 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.01394, allocations: 35.97 kB / 0.7965 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.01407, allocations: 103.2 kB / 0.7966 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.01428, allocations: 144.9 kB / 0.7968 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01429, allocations: 0 / 0.7968 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003598/0.01465, allocations: 222.4 kB / 0.797 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.01466, allocations: 4 kB / 0.797 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.01467, allocations: 8.906 kB / 0.797 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01468, allocations: 7.938 kB / 0.797 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.01486, allocations: 40.75 kB / 0.7971 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01487, allocations: 4 kB / 0.7971 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.01501, allocations: 41.05 kB / 0.7971 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.01503, allocations: 8 kB / 0.7971 GB, free: 2.949 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.0001598/0.01519, allocations: 190.1 kB / 0.7973 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.01524, allocations: 31.89 kB / 0.7973 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.0153, allocations: 24.22 kB / 0.7973 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.01531, allocations: 7.938 kB / 0.7973 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01531, allocations: 3.984 kB / 0.7974 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01532, allocations: 7.922 kB / 0.7974 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007352/0.01605, allocations: 0.5392 MB / 0.7979 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01606, allocations: 0 / 0.7979 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.01618, allocations: 31.33 kB / 0.7979 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.01618, allocations: 3.938 kB / 0.7979 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.0162, allocations: 3.984 kB / 0.7979 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.0162, allocations: 4 kB / 0.7979 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.0162, allocations: 0 / 0.7979 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.01654, allocations: 324.7 kB / 0.7982 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.01657, allocations: 31.73 kB / 0.7983 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.0166, allocations: 8 kB / 0.7983 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.01674, allocations: 20.47 kB / 0.7983 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.01683, allocations: 37.81 kB / 0.7983 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.01685, allocations: 8 kB / 0.7983 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.581e-05/0.01693, allocations: 157 kB / 0.7985 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01693, allocations: 0 / 0.7985 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000345/0.01728, allocations: 63.88 kB / 0.7985 GB, free: 1.422 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.0001332/0.01741, allocations: 120.7 kB / 0.7987 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.01769, allocations: 147.5 kB / 0.7988 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.0177, allocations: 0 / 0.7988 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.01783, allocations: 80.08 kB / 0.7989 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.01821, allocations: 45.78 kB / 0.7989 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.01911, allocations: 445.7 kB / 0.7993 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.172e-05/0.01918, allocations: 93.25 kB / 0.7994 GB, free: 464 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.01929, allocations: 20.48 kB / 0.7995 GB, free: 448 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.01947, allocations: 118.2 kB / 0.7996 GB, free: 328 kB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.01947, allocations: 1.094 kB / 0.7996 GB, free: 328 kB / 0.7448 GB Notification: Performance of Templates: time 0.007476/0.02694, allocations: 3.232 MB / 0.8027 GB, free: 13.15 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.8798280619084835]