Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.001511/0.001511, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001963/0.001963, allocations: 164.7 kB / 24.87 MB, free: 8.891 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 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.824/1.824, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.DualDuctSnapActing.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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.905e-05, allocations: 7.109 kB / 0.7884 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002451/0.00248, allocations: 1.111 MB / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.003798, allocations: 1.07 MB / 0.7905 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.003899, allocations: 4 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.034e-05/0.00396, allocations: 19.73 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.004091, allocations: 36.47 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.004348, allocations: 92.48 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.004576, allocations: 228.1 kB / 0.7908 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.004771, allocations: 97.95 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.005069, allocations: 159.5 kB / 0.7911 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.005166, allocations: 61.11 kB / 0.7911 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.005199, allocations: 20 kB / 0.7912 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.416e-05/0.005253, allocations: 24 kB / 0.7912 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.005291, allocations: 51.81 kB / 0.7912 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.005344, allocations: 52.91 kB / 0.7913 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.005558, allocations: 159.3 kB / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.005561, allocations: 0 / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005562, allocations: 5.312 kB / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.005566, allocations: 0 / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005405/0.006107, allocations: 0.5172 MB / 0.792 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.006141, allocations: 12.03 kB / 0.792 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.006288, allocations: 40.8 kB / 0.792 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.006499, allocations: 192.2 kB / 0.7922 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.006526, allocations: 23.53 kB / 0.7922 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.006549, allocations: 16.38 kB / 0.7922 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.006799, allocations: 149.4 kB / 0.7924 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006808, allocations: 192 / 0.7924 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.006827, allocations: 12.38 kB / 0.7924 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.006836, allocations: 4.375 kB / 0.7924 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.006952, allocations: 68.03 kB / 0.7924 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.007678, allocations: 0.4931 MB / 0.7929 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.007854, allocations: 103.2 kB / 0.793 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.007898, allocations: 35.61 kB / 0.7931 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.007916, allocations: 9.047 kB / 0.7931 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.007938, allocations: 33.39 kB / 0.7931 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.007939, allocations: 1.594 kB / 0.7931 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0002393/0.008179, allocations: 127 kB / 0.7932 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.008208, allocations: 55.41 kB / 0.7933 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.008345, allocations: 234.2 kB / 0.7935 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.00836, allocations: 27.7 kB / 0.7935 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.008443, allocations: 191.1 kB / 0.7937 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.008482, allocations: 47.62 kB / 0.7938 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.008556, allocations: 63.27 kB / 0.7938 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.008687, allocations: 0.5 MB / 0.7943 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.008736, allocations: 24.52 kB / 0.7943 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.00881, allocations: 80.3 kB / 0.7944 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.008928, allocations: 110.7 kB / 0.7945 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.008932, allocations: 4 kB / 0.7945 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001939/0.009126, allocations: 129.5 kB / 0.7946 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.00914, allocations: 4 kB / 0.7946 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.009148, allocations: 7.984 kB / 0.7946 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.009157, allocations: 1.156 kB / 0.7946 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.009277, allocations: 35.86 kB / 0.7947 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.009281, allocations: 0 / 0.7947 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.009351, allocations: 21.27 kB / 0.7947 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.009365, allocations: 11.98 kB / 0.7947 GB, free: 5.441 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001015/0.009466, allocations: 178.2 kB / 0.7949 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.009506, allocations: 19.91 kB / 0.7949 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.009541, allocations: 21.75 kB / 0.7949 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.009544, allocations: 4 kB / 0.7949 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.009546, allocations: 5.281 kB / 0.7949 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.009551, allocations: 3.984 kB / 0.7949 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.009745, allocations: 149.2 kB / 0.7951 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.009747, allocations: 0.5938 kB / 0.7951 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.009824, allocations: 23.92 kB / 0.7951 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009826, allocations: 0.5938 kB / 0.7951 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.009836, allocations: 5.844 kB / 0.7951 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.009837, allocations: 0 / 0.7951 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009838, allocations: 4 kB / 0.7951 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.01004, allocations: 263.6 kB / 0.7954 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.01006, allocations: 15.84 kB / 0.7954 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.01008, allocations: 0.875 kB / 0.7954 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.01015, allocations: 11.98 kB / 0.7954 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.01021, allocations: 23.44 kB / 0.7954 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.01022, allocations: 0 / 0.7954 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.002e-05/0.01029, allocations: 164.8 kB / 0.7956 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01029, allocations: 0 / 0.7956 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002857/0.01057, allocations: 39.84 kB / 0.7956 GB, free: 4.477 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001069/0.01068, allocations: 115.2 kB / 0.7957 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.01083, allocations: 88.44 kB / 0.7958 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01084, allocations: 0 / 0.7958 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.01091, allocations: 55.59 kB / 0.7959 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.01118, allocations: 16.91 kB / 0.7959 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.01183, allocations: 338.1 kB / 0.7962 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.01189, allocations: 75.98 kB / 0.7963 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.048e-05/0.01198, allocations: 25.11 kB / 0.7963 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.01208, allocations: 99.25 kB / 0.7964 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.01208, allocations: 0 / 0.7964 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of Templates: time 0.004525/0.0166, allocations: 1.661 MB / 0.798 GB, free: 2.055 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.145848353859037]