Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.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.001118/0.001118, allocations: 85.08 kB / 19.87 MB, free: 4.617 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.001194/0.001194, allocations: 169 kB / 23.27 MB, free: 1.219 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.9732/0.9732, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.352/2.352, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/4.041e-05, allocations: 9.203 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002458/0.002498, allocations: 1.012 MB / 0.8908 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.004163, allocations: 1.03 MB / 0.8918 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.004291, allocations: 0 / 0.8918 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.52e-05/0.004356, allocations: 23.73 kB / 0.8918 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.004503, allocations: 27.72 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.004789, allocations: 71.8 kB / 0.8919 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.004977, allocations: 172.1 kB / 0.8921 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.00518, allocations: 64.67 kB / 0.8921 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.005499, allocations: 115.7 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.005596, allocations: 51.86 kB / 0.8923 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.005626, allocations: 12 kB / 0.8923 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.305e-05/0.005689, allocations: 16 kB / 0.8923 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.005721, allocations: 35.84 kB / 0.8923 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.005767, allocations: 47.91 kB / 0.8924 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.005986, allocations: 119.4 kB / 0.8925 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.00599, allocations: 0 / 0.8925 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.153e-06/0.005991, allocations: 4 kB / 0.8925 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.005996, allocations: 0 / 0.8925 GB, free: 6.941 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.00053/0.006526, allocations: 475.9 kB / 0.893 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.00658, allocations: 16.56 kB / 0.893 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.006719, allocations: 40.8 kB / 0.893 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.006905, allocations: 166.2 kB / 0.8932 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.006929, allocations: 12.38 kB / 0.8932 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.006948, allocations: 12.38 kB / 0.8932 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.007155, allocations: 124.4 kB / 0.8933 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.007165, allocations: 192 / 0.8933 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.00718, allocations: 8.375 kB / 0.8933 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.007188, allocations: 8.312 kB / 0.8933 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.007273, allocations: 52.2 kB / 0.8934 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.007787, allocations: 399.9 kB / 0.8938 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.007928, allocations: 79.05 kB / 0.8938 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.007967, allocations: 27.73 kB / 0.8939 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.007987, allocations: 8 kB / 0.8939 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.008013, allocations: 33.39 kB / 0.8939 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.008014, allocations: 0 / 0.8939 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002128/0.008227, allocations: 113.4 kB / 0.894 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.008258, allocations: 51.41 kB / 0.8941 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.008396, allocations: 215.6 kB / 0.8943 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.008412, allocations: 25.7 kB / 0.8943 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.008499, allocations: 167.2 kB / 0.8944 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.008535, allocations: 39.67 kB / 0.8945 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.008595, allocations: 47.33 kB / 0.8945 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.008741, allocations: 0.5 MB / 0.895 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.008773, allocations: 15.92 kB / 0.895 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.008827, allocations: 50.72 kB / 0.8951 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.724e-05/0.008914, allocations: 70.67 kB / 0.8951 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008916, allocations: 0 / 0.8951 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001455/0.009062, allocations: 109.5 kB / 0.8952 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.009078, allocations: 10.28 kB / 0.8953 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.009085, allocations: 0 / 0.8953 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.009099, allocations: 7.938 kB / 0.8953 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.009202, allocations: 23.98 kB / 0.8953 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.009205, allocations: 0 / 0.8953 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.009257, allocations: 11.98 kB / 0.8953 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.009265, allocations: 0 / 0.8953 GB, free: 3.844 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001023/0.009367, allocations: 172.5 kB / 0.8955 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.009405, allocations: 27.91 kB / 0.8955 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.009441, allocations: 12.78 kB / 0.8955 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.009445, allocations: 4 kB / 0.8955 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.009447, allocations: 0 / 0.8955 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.009451, allocations: 3.984 kB / 0.8955 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.009618, allocations: 133.2 kB / 0.8956 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.009622, allocations: 3.984 kB / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.009681, allocations: 12 kB / 0.8957 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.009687, allocations: 7.984 kB / 0.8957 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.009696, allocations: 4 kB / 0.8957 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.009698, allocations: 7.938 kB / 0.8957 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.009699, allocations: 0 / 0.8957 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.009878, allocations: 248.2 kB / 0.8959 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.009892, allocations: 7.953 kB / 0.8959 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.009907, allocations: 4 kB / 0.8959 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.009974, allocations: 7.938 kB / 0.8959 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.01003, allocations: 15.97 kB / 0.8959 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.01004, allocations: 7.984 kB / 0.896 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.445e-05/0.0101, allocations: 145 kB / 0.8961 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.0101, allocations: 0 / 0.8961 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002543/0.01036, allocations: 35.89 kB / 0.8961 GB, free: 2.941 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: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0001532/0.01051, allocations: 106.1 kB / 0.8962 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.01064, allocations: 59.59 kB / 0.8963 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01064, allocations: 0 / 0.8963 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.497e-05/0.0107, allocations: 39.61 kB / 0.8963 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01097, allocations: 19.92 kB / 0.8963 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.01164, allocations: 279 kB / 0.8966 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.229e-05/0.01169, allocations: 67.84 kB / 0.8967 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.294e-05/0.01177, allocations: 21.12 kB / 0.8967 GB, free: 2.301 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.01187, allocations: 94.19 kB / 0.8968 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of SimCode: time 8.02e-07/0.01187, allocations: 0 / 0.8968 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of Templates: time 0.00429/0.01616, allocations: 1.381 MB / 0.8981 GB, free: 0.8945 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.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.347943894099444]