Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.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.001136/0.001136, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001031/0.001031, allocations: 173 kB / 23.49 MB, free: 1.059 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.9483/0.9483, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.082/2.082, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|staUpInd.uUpsDevSta|staUpInd.uStaUp|staUpInd.uStaDow|staUpInd.uStaSet|staUpInd.yChiSta|staDowInd.uUpsDevSta|staDowInd.uStaUp|staDowInd.uStaDow|staDowInd.uStaSet|staDowInd.yChiSta",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|staUpInd.uUpsDevSta|staUpInd.uStaUp|staUpInd.uStaDow|staUpInd.uStaSet|staUpInd.yChiSta|staDowInd.uUpsDevSta|staDowInd.uStaUp|staDowInd.uStaDow|staDowInd.uStaSet|staDowInd.yChiSta",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8783 GB, free: 5.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.146e-05, allocations: 2.312 kB / 0.8783 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump): time 0.001817/0.001838, allocations: 1.25 MB / 0.8795 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.003237, allocations: 1.412 MB / 0.8809 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.003322, allocations: 4 kB / 0.8809 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.957e-05/0.003402, allocations: 33.19 kB / 0.8809 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.003481, allocations: 19.69 kB / 0.8809 GB, free: 2.711 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.004029, allocations: 309 kB / 0.8812 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.004336, allocations: 425 kB / 0.8816 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.004597, allocations: 186.8 kB / 0.8818 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.004788, allocations: 251.6 kB / 0.8821 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.00494, allocations: 143.6 kB / 0.8822 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.004988, allocations: 48 kB / 0.8822 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.005064, allocations: 59.98 kB / 0.8823 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.005117, allocations: 87.72 kB / 0.8824 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.005217, allocations: 123.8 kB / 0.8825 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.005509, allocations: 342.8 kB / 0.8828 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005512, allocations: 0.7188 kB / 0.8828 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005513, allocations: 0 / 0.8828 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.005517, allocations: 1.656 kB / 0.8828 GB, free: 0.7734 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0005938/0.006111, allocations: 0.652 MB / 0.8835 GB, free: 72 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.006149, allocations: 12.03 kB / 0.8835 GB, free: 60 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.006254, allocations: 64.8 kB / 0.8835 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.006605, allocations: 234.6 kB / 0.8838 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.006646, allocations: 37.38 kB / 0.8838 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.006689, allocations: 52.36 kB / 0.8839 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.007001, allocations: 259.8 kB / 0.8841 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.00701, allocations: 192 / 0.8841 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.007033, allocations: 16.38 kB / 0.8841 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.007044, allocations: 12.12 kB / 0.8841 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.007248, allocations: 149.8 kB / 0.8843 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009407/0.008189, allocations: 1.064 MB / 0.8853 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.00835, allocations: 103 kB / 0.8854 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.008398, allocations: 35.67 kB / 0.8854 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.008415, allocations: 0 / 0.8854 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.008544, allocations: 112.9 kB / 0.8856 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.008545, allocations: 4 kB / 0.8856 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002742/0.008819, allocations: 157.5 kB / 0.8857 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.008852, allocations: 59.34 kB / 0.8858 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.008982, allocations: 255.6 kB / 0.886 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.009006, allocations: 29.7 kB / 0.886 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.009114, allocations: 239.1 kB / 0.8863 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.009138, allocations: 39.7 kB / 0.8863 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.009239, allocations: 107.3 kB / 0.8864 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.009428, allocations: 0.4962 MB / 0.8869 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.009559, allocations: 131.3 kB / 0.887 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.009725, allocations: 229.8 kB / 0.8872 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.009921, allocations: 252.1 kB / 0.8875 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.009925, allocations: 4 kB / 0.8875 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003735/0.0103, allocations: 409.8 kB / 0.8879 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.01033, allocations: 63.39 kB / 0.8879 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01034, allocations: 4 kB / 0.8879 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.01035, allocations: 7.938 kB / 0.8879 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.01044, allocations: 23.98 kB / 0.888 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.01045, allocations: 15.86 kB / 0.888 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.0106, allocations: 51.8 kB / 0.888 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.01062, allocations: 24.2 kB / 0.888 GB, free: 11.01 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,fal.y,staUpInd.and1.y,staDowInd.and2.y,staUpInd.uChiSta,staDowInd.uChiSta,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,staDowInd.swi2.y,staDowInd.and1.y,staDowInd.yChiSta,staDowInd.uStaSet,staUpInd.swi1.y,staUpInd.and2.y,staUpInd.yChiSta,staUpInd.uStaSet) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0001006/0.01072, allocations: 172.6 kB / 0.8882 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.01075, allocations: 27.88 kB / 0.8882 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.01078, allocations: 17.11 kB / 0.8883 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01078, allocations: 0 / 0.8883 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01078, allocations: 3.938 kB / 0.8883 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01079, allocations: 0 / 0.8883 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.01115, allocations: 485.2 kB / 0.8887 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01115, allocations: 7.938 kB / 0.8887 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.01119, allocations: 19.92 kB / 0.8887 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.01119, allocations: 0 / 0.8887 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.01121, allocations: 11.94 kB / 0.8888 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.01121, allocations: 80 / 0.8888 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01121, allocations: 3.984 kB / 0.8888 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.01138, allocations: 279 kB / 0.889 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.01139, allocations: 15.91 kB / 0.889 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.01141, allocations: 7.938 kB / 0.8891 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.01145, allocations: 4 kB / 0.8891 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.01151, allocations: 23.97 kB / 0.8891 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.01151, allocations: 7.984 kB / 0.8891 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.01157, allocations: 140 kB / 0.8892 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01157, allocations: 0 / 0.8892 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002248/0.01179, allocations: 83.67 kB / 0.8893 GB, free: 9.652 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (staUpInd.and2.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,staUpInd.uStaSet,staUpInd.yChiSta,staUpInd.swi1.y,staDowInd.uStaSet,staDowInd.yChiSta,staDowInd.and1.y,staDowInd.swi2.y,booPul.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001168/0.01191, allocations: 113 kB / 0.8894 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.01222, allocations: 346.7 kB / 0.8897 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01222, allocations: 4 kB / 0.8897 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.01229, allocations: 59.58 kB / 0.8898 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.01251, allocations: 27.98 kB / 0.8898 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.01299, allocations: 403.1 kB / 0.8902 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.333e-05/0.01305, allocations: 87.83 kB / 0.8903 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.866e-05/0.0131, allocations: 25.67 kB / 0.8903 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.01315, allocations: 28.48 kB / 0.8903 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.01315, allocations: 4 kB / 0.8903 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of Templates: time 0.004694/0.01784, allocations: 2.804 MB / 0.8931 GB, free: 5.766 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Staging_Processes_Subsequences_Validation_EnableCWPump.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.353199450997636]