Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001011/0.001011, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001106/0.001106, allocations: 169 kB / 24.28 MB, free: 280 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 1.02/1.02, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.949/1.949, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.7656 kB / 0.8116 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.608e-05, allocations: 6.25 kB / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002144/0.002161, allocations: 1.128 MB / 0.8127 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.003133, allocations: 1.071 MB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.003211, allocations: 0 / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/0.003258, allocations: 23.67 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.003375, allocations: 40.44 kB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.003604, allocations: 89.53 kB / 0.8139 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.00378, allocations: 224.2 kB / 0.8141 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.003942, allocations: 96.58 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.004174, allocations: 143.6 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.004255, allocations: 77.23 kB / 0.8144 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.004282, allocations: 24 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/0.004334, allocations: 32 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.004363, allocations: 51.83 kB / 0.8145 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.00441, allocations: 61.42 kB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.004604, allocations: 167.3 kB / 0.8147 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.004608, allocations: 8 kB / 0.8147 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004609, allocations: 0 / 0.8147 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004613, allocations: 0.5312 kB / 0.8147 GB, free: 14.83 MB / 0.7761 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.0005309/0.005144, allocations: 0.5095 MB / 0.8152 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.005178, allocations: 8.031 kB / 0.8152 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.005307, allocations: 52.73 kB / 0.8153 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.005572, allocations: 217.2 kB / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.005599, allocations: 21.47 kB / 0.8155 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005618, allocations: 16.38 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.005842, allocations: 166.1 kB / 0.8157 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.005851, allocations: 5.281 kB / 0.8157 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.005866, allocations: 4.375 kB / 0.8157 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.005876, allocations: 8.375 kB / 0.8157 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.005999, allocations: 84.25 kB / 0.8158 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.006534, allocations: 0.5144 MB / 0.8163 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.006708, allocations: 116.9 kB / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.00676, allocations: 39.67 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.006776, allocations: 3.906 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.006796, allocations: 41.97 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.006798, allocations: 0 / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17): time 0.0002352/0.007033, allocations: 137.3 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.007062, allocations: 58.17 kB / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.007249, allocations: 237.7 kB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.007263, allocations: 29.7 kB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.007337, allocations: 199.2 kB / 0.8171 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.007367, allocations: 39.66 kB / 0.8171 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.007423, allocations: 59.34 kB / 0.8172 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.007535, allocations: 0.5 MB / 0.8177 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.007579, allocations: 25.44 kB / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.007656, allocations: 86.02 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.007763, allocations: 108.5 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007764, allocations: 0 / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001583/0.007923, allocations: 149.2 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007936, allocations: 8 kB / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007941, allocations: 0 / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.007955, allocations: 11.88 kB / 0.818 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.008054, allocations: 23.98 kB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.00806, allocations: 3.984 kB / 0.8181 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.008105, allocations: 20.42 kB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.008115, allocations: 8.719 kB / 0.8181 GB, free: 11.12 MB / 0.7761 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 8.208e-05/0.008197, allocations: 170.8 kB / 0.8183 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.008223, allocations: 23.91 kB / 0.8183 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.008254, allocations: 21.8 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.008257, allocations: 4.875 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.00826, allocations: 0 / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008263, allocations: 0.8438 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.008416, allocations: 196.5 kB / 0.8185 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008417, allocations: 3.938 kB / 0.8185 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.008467, allocations: 26.14 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.008468, allocations: 0 / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.008478, allocations: 4 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.008482, allocations: 11.98 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.008484, allocations: 3.938 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.008648, allocations: 258.7 kB / 0.8188 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.00866, allocations: 15.84 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.008673, allocations: 4 kB / 0.8188 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.008719, allocations: 9.016 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.008777, allocations: 27.81 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.008784, allocations: 13.03 kB / 0.8189 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.008842, allocations: 161.2 kB / 0.819 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008842, allocations: 0 / 0.819 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001744/0.009016, allocations: 36.61 kB / 0.819 GB, free: 10.09 MB / 0.7761 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 7.609e-05/0.009092, allocations: 111.5 kB / 0.8192 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.009247, allocations: 95.27 kB / 0.8192 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.009248, allocations: 0 / 0.8192 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/0.009307, allocations: 55.59 kB / 0.8193 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.00951, allocations: 29.02 kB / 0.8193 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.01009, allocations: 343.6 kB / 0.8197 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.01013, allocations: 75.98 kB / 0.8197 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.048e-05/0.01019, allocations: 19.05 kB / 0.8197 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.01024, allocations: 25.53 kB / 0.8198 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.01024, allocations: 0 / 0.8198 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of Templates: time 0.003837/0.01408, allocations: 1.509 MB / 0.8212 GB, free: 7.879 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.237553494051099]