Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001342/0.001342, 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.001404/0.001404, allocations: 169 kB / 23.02 MB, free: 1.551 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.9358/0.9358, 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.067/2.067, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.239e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002631/0.002664, allocations: 1.152 MB / 0.8793 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003723, allocations: 1.066 MB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.003804, allocations: 4 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.003851, allocations: 24.77 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.003959, allocations: 44.25 kB / 0.8805 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.004181, allocations: 87.84 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.00437, allocations: 225.5 kB / 0.8808 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.00455, allocations: 96.58 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.004828, allocations: 155.6 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.004906, allocations: 59.7 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.004936, allocations: 23.98 kB / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.212e-05/0.004988, allocations: 24 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.005022, allocations: 51.77 kB / 0.8811 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.005074, allocations: 59.84 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.005291, allocations: 161.8 kB / 0.8814 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005294, allocations: 0 / 0.8814 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/0.005295, allocations: 0 / 0.8814 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.005302, allocations: 3.984 kB / 0.8814 GB, free: 3.062 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005419/0.005844, allocations: 0.5127 MB / 0.8819 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.005882, allocations: 8.031 kB / 0.8819 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.006024, allocations: 41.83 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.00623, allocations: 199.3 kB / 0.8821 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.00626, allocations: 16.88 kB / 0.8821 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.00628, allocations: 21.45 kB / 0.8821 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.006544, allocations: 173.3 kB / 0.8823 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.006561, allocations: 4.688 kB / 0.8823 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.006585, allocations: 13.53 kB / 0.8823 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.006595, allocations: 4.375 kB / 0.8823 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.006719, allocations: 74.89 kB / 0.8824 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.007334, allocations: 0.5217 MB / 0.8829 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.007524, allocations: 119 kB / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.007581, allocations: 39.67 kB / 0.8831 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.007597, allocations: 0 / 0.8831 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.007623, allocations: 37.39 kB / 0.8831 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.007624, allocations: 0 / 0.8831 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002482/0.007872, allocations: 144.7 kB / 0.8832 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.007902, allocations: 55.34 kB / 0.8833 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.00803, allocations: 235.9 kB / 0.8835 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.008046, allocations: 29.7 kB / 0.8835 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.008129, allocations: 196.5 kB / 0.8837 GB, free: 492 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.008161, allocations: 43.64 kB / 0.8838 GB, free: 448 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.00822, allocations: 55.36 kB / 0.8838 GB, free: 384 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.008367, allocations: 0.5013 MB / 0.8843 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.00841, allocations: 23.98 kB / 0.8843 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.398e-05/0.008494, allocations: 86.09 kB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.008606, allocations: 106.1 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.008608, allocations: 4 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001748/0.008783, allocations: 151.5 kB / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.008797, allocations: 4.156 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.008802, allocations: 8 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.008817, allocations: 3.938 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.008924, allocations: 31.97 kB / 0.8847 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.00893, allocations: 0 / 0.8847 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.008977, allocations: 23.83 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.008987, allocations: 8 kB / 0.8847 GB, free: 15.37 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: 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.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.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 9.747e-05/0.009084, allocations: 173.4 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.00911, allocations: 23.91 kB / 0.8849 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.00914, allocations: 25.8 kB / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.009144, allocations: 3.938 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.00915, allocations: 4 kB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.009154, allocations: 0 / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.009313, allocations: 192.5 kB / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.009315, allocations: 0 / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.009365, allocations: 23.92 kB / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009367, allocations: 0 / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.009378, allocations: 3.984 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.00938, allocations: 0 / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.009382, allocations: 7.938 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.009572, allocations: 267.7 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.009586, allocations: 15.84 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.009601, allocations: 7.922 kB / 0.8855 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.009646, allocations: 8 kB / 0.8855 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.009706, allocations: 23.91 kB / 0.8855 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.009712, allocations: 7.938 kB / 0.8855 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.926e-05/0.009781, allocations: 159.1 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.009781, allocations: 4 kB / 0.8856 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001786/0.00996, allocations: 39.89 kB / 0.8857 GB, free: 14.33 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: 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 8.554e-05/0.01005, allocations: 103.2 kB / 0.8858 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.01021, allocations: 109.8 kB / 0.8859 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01021, allocations: 0 / 0.8859 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.01027, allocations: 55.59 kB / 0.8859 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.01047, allocations: 24.3 kB / 0.886 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.01106, allocations: 339.4 kB / 0.8863 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.01111, allocations: 75.98 kB / 0.8864 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.673e-05/0.01116, allocations: 17.48 kB / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.01121, allocations: 24.5 kB / 0.8864 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.01121, allocations: 4 kB / 0.8864 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of Templates: time 0.003282/0.01449, allocations: 1.552 MB / 0.8879 GB, free: 12.05 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.245964478235692]