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.0007826/0.0007826, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009369/0.0009369, allocations: 169 kB / 23.27 MB, free: 1.223 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.8976/0.8976, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.347/2.347, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.653e-06/1.653e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.43e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003696/0.00372, allocations: 2.056 MB / 0.8917 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.005306, allocations: 0.7674 MB / 0.8925 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.005479, allocations: 7.938 kB / 0.8925 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.005656, allocations: 39.59 kB / 0.8925 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.005799, allocations: 47.53 kB / 0.8926 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.00643, allocations: 179.6 kB / 0.8928 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.006922, allocations: 411.1 kB / 0.8932 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.007315, allocations: 212.5 kB / 0.8934 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.007667, allocations: 215.5 kB / 0.8936 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.007873, allocations: 111.7 kB / 0.8937 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.694e-05/0.00794, allocations: 40 kB / 0.8937 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.008047, allocations: 47.94 kB / 0.8938 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.241e-05/0.008129, allocations: 83.73 kB / 0.8938 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.008245, allocations: 103.7 kB / 0.8939 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.00861, allocations: 267 kB / 0.8942 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.008613, allocations: 0 / 0.8942 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.152e-06/0.008614, allocations: 0 / 0.8942 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.008619, allocations: 0 / 0.8942 GB, free: 5.18 MB / 0.8542 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.0008132/0.009432, allocations: 0.6127 MB / 0.8948 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.009476, allocations: 8.625 kB / 0.8948 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003786/0.009854, allocations: 76.72 kB / 0.8949 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.01014, allocations: 232.1 kB / 0.8951 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.01017, allocations: 29.03 kB / 0.8951 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.01022, allocations: 28.38 kB / 0.8951 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.01064, allocations: 243.9 kB / 0.8954 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.01065, allocations: 192 / 0.8954 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.01068, allocations: 16.38 kB / 0.8954 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01069, allocations: 11.94 kB / 0.8954 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.01087, allocations: 84.45 kB / 0.8955 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.01199, allocations: 0.7922 MB / 0.8963 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.01228, allocations: 148.1 kB / 0.8964 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.01238, allocations: 52.12 kB / 0.8964 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.0124, allocations: 8.234 kB / 0.8965 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.01258, allocations: 125.1 kB / 0.8966 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.01258, allocations: 0 / 0.8966 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.0004111/0.01299, allocations: 214.8 kB / 0.8968 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.01303, allocations: 55.41 kB / 0.8968 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.0133, allocations: 255.6 kB / 0.8971 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.01333, allocations: 37.7 kB / 0.8971 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01345, allocations: 199.5 kB / 0.8973 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.01353, allocations: 87.33 kB / 0.8974 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.01365, allocations: 87.3 kB / 0.8975 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.01381, allocations: 0.5079 MB / 0.898 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.01389, allocations: 35.97 kB / 0.898 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.01402, allocations: 102 kB / 0.8981 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.01423, allocations: 154.3 kB / 0.8982 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01423, allocations: 0 / 0.8982 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003187/0.01455, allocations: 216.9 kB / 0.8984 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01457, allocations: 6.188 kB / 0.8985 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01457, allocations: 4 kB / 0.8985 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.01459, allocations: 7.938 kB / 0.8985 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.01476, allocations: 39.91 kB / 0.8985 GB, free: 492 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.01477, allocations: 4 kB / 0.8985 GB, free: 488 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.0149, allocations: 39.77 kB / 0.8985 GB, free: 448 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.01492, allocations: 8 kB / 0.8986 GB, free: 440 kB / 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.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.0001424/0.01506, allocations: 200.6 kB / 0.8987 GB, free: 228 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.01511, allocations: 31.86 kB / 0.8988 GB, free: 196 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.01516, allocations: 26.59 kB / 0.8988 GB, free: 172 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01516, allocations: 7.938 kB / 0.8988 GB, free: 164 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01517, allocations: 0 / 0.8988 GB, free: 164 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.01517, allocations: 3.984 kB / 0.8988 GB, free: 160 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.01588, allocations: 0.5343 MB / 0.8993 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01588, allocations: 0 / 0.8993 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.01599, allocations: 31.97 kB / 0.8994 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.01599, allocations: 7.938 kB / 0.8994 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.01601, allocations: 4 kB / 0.8994 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.01601, allocations: 8 kB / 0.8994 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.01601, allocations: 0 / 0.8994 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.01633, allocations: 328.7 kB / 0.8997 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.01636, allocations: 31.7 kB / 0.8997 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.01639, allocations: 8 kB / 0.8997 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.01652, allocations: 15.98 kB / 0.8997 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.01662, allocations: 31.94 kB / 0.8998 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.01663, allocations: 12 kB / 0.8998 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.6e-05/0.01672, allocations: 156 kB / 0.8999 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01672, allocations: 0 / 0.8999 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003303/0.01705, allocations: 67.84 kB / 0.9 GB, free: 14.88 MB / 0.8698 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.0001189/0.01717, allocations: 117.2 kB / 0.9001 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.01743, allocations: 151.5 kB / 0.9003 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01743, allocations: 320 / 0.9003 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.01756, allocations: 88.06 kB / 0.9003 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.01785, allocations: 31.98 kB / 0.9004 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.01854, allocations: 441.8 kB / 0.9008 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.931e-05/0.01859, allocations: 84.31 kB / 0.9009 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.328e-05/0.01866, allocations: 30.28 kB / 0.9009 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.01877, allocations: 110.2 kB / 0.901 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/0.01878, allocations: 0 / 0.901 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of Templates: time 0.004965/0.02374, allocations: 3.14 MB / 0.9041 GB, free: 10.71 MB / 0.8698 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.142347064334899]