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.0009224/0.0009224, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.0009306/0.0009306, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9351/0.9351, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.098/2.098, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.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 1.984e-06/1.984e-06, allocations: 0 / 0.8794 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.948e-05, allocations: 4.625 kB / 0.8794 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001777/0.001807, allocations: 1.005 MB / 0.8804 GB, free: 3.883 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.002909, allocations: 1.024 MB / 0.8814 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.002995, allocations: 0 / 0.8814 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/0.003037, allocations: 18.17 kB / 0.8814 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.003148, allocations: 34.34 kB / 0.8815 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.003364, allocations: 71.8 kB / 0.8815 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.003498, allocations: 172 kB / 0.8817 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.003638, allocations: 60.73 kB / 0.8818 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.003849, allocations: 128.5 kB / 0.8819 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.003919, allocations: 41 kB / 0.8819 GB, free: 2.336 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.003939, allocations: 16 kB / 0.8819 GB, free: 2.32 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-05/0.003985, allocations: 19.98 kB / 0.882 GB, free: 2.301 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.004012, allocations: 36.88 kB / 0.882 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.004047, allocations: 43.91 kB / 0.882 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.00421, allocations: 107.5 kB / 0.8821 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004213, allocations: 9.109 kB / 0.8821 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004214, allocations: 0 / 0.8821 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004218, allocations: 0 / 0.8821 GB, free: 2.109 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004113/0.00463, allocations: 485 kB / 0.8826 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.004664, allocations: 8.031 kB / 0.8826 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.00478, allocations: 38.72 kB / 0.8826 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.004945, allocations: 174.7 kB / 0.8828 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.004965, allocations: 8.375 kB / 0.8828 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.004981, allocations: 16.38 kB / 0.8828 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.005164, allocations: 130.2 kB / 0.883 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005172, allocations: 192 / 0.883 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.005184, allocations: 8.359 kB / 0.883 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.00519, allocations: 4.375 kB / 0.883 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.005251, allocations: 41.09 kB / 0.883 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.005658, allocations: 415.7 kB / 0.8834 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.005786, allocations: 73.5 kB / 0.8835 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.005822, allocations: 31.72 kB / 0.8835 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.005837, allocations: 0 / 0.8835 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.005863, allocations: 37.39 kB / 0.8835 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.005864, allocations: 0.5 kB / 0.8835 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of matching and sorting (n=12): time 0.0002108/0.006075, allocations: 102.8 kB / 0.8836 GB, free: 460 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.006107, allocations: 59.39 kB / 0.8837 GB, free: 388 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.006211, allocations: 211.8 kB / 0.8839 GB, free: 160 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.006225, allocations: 27.3 kB / 0.8839 GB, free: 128 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.006305, allocations: 171.1 kB / 0.8841 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.006332, allocations: 39.67 kB / 0.8841 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.006381, allocations: 47.33 kB / 0.8842 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.006495, allocations: 0.4884 MB / 0.8847 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.006523, allocations: 23.92 kB / 0.8847 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.006566, allocations: 51.84 kB / 0.8847 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.226e-05/0.006638, allocations: 71.11 kB / 0.8848 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.006641, allocations: 0 / 0.8848 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001247/0.006765, allocations: 109.4 kB / 0.8849 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.00678, allocations: 13.34 kB / 0.8849 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.006785, allocations: 0 / 0.8849 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.006793, allocations: 0 / 0.8849 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.006878, allocations: 27.92 kB / 0.8849 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.006881, allocations: 0 / 0.8849 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.774e-05/0.006919, allocations: 11.89 kB / 0.8849 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006926, allocations: 4 kB / 0.8849 GB, free: 15.02 MB / 0.8073 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 9.881e-05/0.007024, allocations: 177.8 kB / 0.8851 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.00705, allocations: 15.89 kB / 0.8851 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.007076, allocations: 20.78 kB / 0.8852 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.007078, allocations: 0 / 0.8852 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.00708, allocations: 0 / 0.8852 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.007083, allocations: 0 / 0.8852 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.007216, allocations: 149.1 kB / 0.8853 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007218, allocations: 0 / 0.8853 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.007265, allocations: 15.98 kB / 0.8853 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.007268, allocations: 0 / 0.8853 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.007275, allocations: 3.984 kB / 0.8853 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007278, allocations: 11.88 kB / 0.8853 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007279, allocations: 0 / 0.8853 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.007446, allocations: 243.8 kB / 0.8856 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.007457, allocations: 11.91 kB / 0.8856 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.007472, allocations: 4 kB / 0.8856 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.171e-05/0.007514, allocations: 7.938 kB / 0.8856 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.007563, allocations: 15.97 kB / 0.8856 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.00757, allocations: 8 kB / 0.8856 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.007619, allocations: 144.3 kB / 0.8857 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007619, allocations: 0 / 0.8857 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001643/0.007784, allocations: 31.89 kB / 0.8858 GB, free: 14.12 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: 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 8.702e-05/0.007871, allocations: 103.2 kB / 0.8859 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.007988, allocations: 67.58 kB / 0.8859 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007989, allocations: 0 / 0.8859 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.008029, allocations: 31.67 kB / 0.886 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.008221, allocations: 27.84 kB / 0.886 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.008694, allocations: 278.8 kB / 0.8863 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.117e-05/0.008736, allocations: 67.84 kB / 0.8863 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.317e-05/0.008789, allocations: 17.14 kB / 0.8863 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.008863, allocations: 90.19 kB / 0.8864 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.008864, allocations: 0 / 0.8864 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.003185/0.01205, allocations: 1.409 MB / 0.8878 GB, free: 12.03 MB / 0.8073 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.281038113869727]