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.001562/0.001562, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001474/0.001474, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9601/0.9601, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.035/2.035, allocations: 429.5 MB / 0.6732 GB, free: 3.996 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 2.615e-06/2.615e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.956e-05, allocations: 3.438 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003116/0.003135, allocations: 2.108 MB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.004466, allocations: 0.7683 MB / 0.881 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.004601, allocations: 5.562 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.004756, allocations: 43.53 kB / 0.881 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.004873, allocations: 41 kB / 0.8811 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.005395, allocations: 179.6 kB / 0.8812 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.005829, allocations: 418.2 kB / 0.8816 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.006153, allocations: 212.5 kB / 0.8818 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.006463, allocations: 203.6 kB / 0.882 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.006648, allocations: 111.7 kB / 0.8821 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.006703, allocations: 40 kB / 0.8822 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.395e-05/0.006797, allocations: 48.52 kB / 0.8822 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.006874, allocations: 85.39 kB / 0.8823 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.006984, allocations: 103.8 kB / 0.8824 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.00736, allocations: 271 kB / 0.8827 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007362, allocations: 3.938 kB / 0.8827 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.007363, allocations: 0 / 0.8827 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.007368, allocations: 1.344 kB / 0.8827 GB, free: 1.715 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.0008554/0.008223, allocations: 0.6128 MB / 0.8833 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.008279, allocations: 8.031 kB / 0.8833 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.008624, allocations: 80.72 kB / 0.8833 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.00891, allocations: 220.1 kB / 0.8835 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.008942, allocations: 29.03 kB / 0.8836 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.008976, allocations: 28.38 kB / 0.8836 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.009331, allocations: 256 kB / 0.8838 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.009345, allocations: 4.125 kB / 0.8839 GB, free: 420 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.009365, allocations: 8.375 kB / 0.8839 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.009379, allocations: 15.94 kB / 0.8839 GB, free: 396 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.009566, allocations: 103.9 kB / 0.884 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.01046, allocations: 0.8346 MB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.01072, allocations: 160.1 kB / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.01081, allocations: 77.22 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.01084, allocations: 4.234 kB / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.01099, allocations: 126.2 kB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 2.484e-06/0.01099, allocations: 0 / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.0003823/0.01138, allocations: 237.9 kB / 0.8854 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.01141, allocations: 59.41 kB / 0.8854 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.01169, allocations: 250.6 kB / 0.8857 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.01171, allocations: 41.7 kB / 0.8857 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.0118, allocations: 199.5 kB / 0.8859 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.01185, allocations: 83.38 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/0.01194, allocations: 87.33 kB / 0.8861 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.01206, allocations: 0.5001 MB / 0.8865 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.01215, allocations: 51.97 kB / 0.8866 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.01226, allocations: 118.7 kB / 0.8867 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.01244, allocations: 159.3 kB / 0.8869 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01244, allocations: 4 kB / 0.8869 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003069/0.01275, allocations: 237 kB / 0.8871 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.01276, allocations: 4 kB / 0.8871 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01277, allocations: 7.938 kB / 0.8871 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.01278, allocations: 4 kB / 0.8871 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01292, allocations: 43.91 kB / 0.8871 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01292, allocations: 4 kB / 0.8871 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.32e-05/0.01301, allocations: 35.77 kB / 0.8872 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.01302, allocations: 16 kB / 0.8872 GB, free: 12.78 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 0.0001089/0.01313, allocations: 192.5 kB / 0.8874 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.01316, allocations: 35.84 kB / 0.8874 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.01321, allocations: 30.59 kB / 0.8874 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01321, allocations: 4 kB / 0.8874 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01321, allocations: 0 / 0.8874 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01322, allocations: 3.984 kB / 0.8875 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.01376, allocations: 0.5874 MB / 0.888 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01376, allocations: 0 / 0.888 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.01384, allocations: 27.92 kB / 0.8881 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01384, allocations: 4 kB / 0.8881 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01385, allocations: 7.938 kB / 0.8881 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01386, allocations: 7.984 kB / 0.8881 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01386, allocations: 0 / 0.8881 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.01411, allocations: 341.9 kB / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.01412, allocations: 19.84 kB / 0.8884 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.01415, allocations: 8 kB / 0.8884 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.01423, allocations: 19.97 kB / 0.8884 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.0143, allocations: 35.94 kB / 0.8885 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.01431, allocations: 4 kB / 0.8885 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.01438, allocations: 173.6 kB / 0.8886 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01438, allocations: 0 / 0.8886 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002746/0.01466, allocations: 63.84 kB / 0.8887 GB, free: 11.17 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 9.322e-05/0.01475, allocations: 117.2 kB / 0.8888 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.015, allocations: 172.4 kB / 0.889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.015, allocations: 0 / 0.889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.01512, allocations: 87.84 kB / 0.8891 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01537, allocations: 51.84 kB / 0.8891 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007654/0.01613, allocations: 437.5 kB / 0.8895 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.255e-05/0.01618, allocations: 84.33 kB / 0.8896 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.01626, allocations: 30.28 kB / 0.8896 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.01632, allocations: 28.48 kB / 0.8897 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.01632, allocations: 4 kB / 0.8897 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.004879/0.0212, allocations: 2.89 MB / 0.8925 GB, free: 7.285 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.346764807589352]