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.001897/0.001897, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002381/0.002381, allocations: 159.9 kB / 23.01 MB, free: 4.602 MB / 14.72 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.768/2.768, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 63.89 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9588/0.9611, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002256/0.9633, allocations: 1.07 MB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.9644, allocations: 1.048 MB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.9645, allocations: 2.969 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.625e-05/0.9645, allocations: 18.98 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.9646, allocations: 38.09 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.9649, allocations: 82.83 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.9651, allocations: 229.8 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.9653, allocations: 99.59 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.9655, allocations: 108.4 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.9656, allocations: 86.88 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.9657, allocations: 23.44 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.9657, allocations: 28.84 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.9658, allocations: 48.3 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.9658, allocations: 93.78 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.9661, allocations: 310.3 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9661, allocations: 0 / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9661, allocations: 0 / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.9661, allocations: 0 / 1.157 GB, free: 31.29 MB / 1.076 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.0006198/0.9668, allocations: 431.4 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.9668, allocations: 10.84 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.9669, allocations: 37.11 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.9673, allocations: 206.5 kB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.9674, allocations: 15.5 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.9674, allocations: 22.98 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.9677, allocations: 202.3 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.9677, allocations: 4.125 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.9678, allocations: 14.78 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.9678, allocations: 2.75 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.9681, allocations: 160.7 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.9687, allocations: 477.9 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.9691, allocations: 155.7 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.9692, allocations: 60.61 kB / 1.159 GB, free: 30.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.9692, allocations: 2.719 kB / 1.159 GB, free: 30.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.9693, allocations: 34.56 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.9693, allocations: 2.906 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.0005549/0.9698, allocations: 220.7 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.9698, allocations: 58.03 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.97, allocations: 187.9 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.97, allocations: 25.7 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.97, allocations: 145.9 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.9701, allocations: 44.42 kB / 1.16 GB, free: 29.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.9701, allocations: 55.67 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.9702, allocations: 324.7 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.9703, allocations: 55.53 kB / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.9705, allocations: 102.2 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.9708, allocations: 146.4 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9708, allocations: 3.938 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003737/0.9712, allocations: 199.1 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.9712, allocations: 5.906 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.9712, allocations: 0 / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9712, allocations: 2.875 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.9714, allocations: 29.59 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9714, allocations: 3.406 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.9715, allocations: 28.06 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.9715, allocations: 13.69 kB / 1.16 GB, free: 28.96 MB / 1.076 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 0.0001327/0.9716, allocations: 134.3 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.9717, allocations: 20.34 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.9717, allocations: 20.84 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.9717, allocations: 0 / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.9717, allocations: 2.938 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.9717, allocations: 3.281 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.9719, allocations: 193.3 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9719, allocations: 0 / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.972, allocations: 25.89 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.972, allocations: 3.938 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.972, allocations: 6.375 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.972, allocations: 0 / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9721, allocations: 0 / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.9724, allocations: 263.6 kB / 1.161 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.9724, allocations: 13.38 kB / 1.161 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.9724, allocations: 11.41 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.9726, allocations: 5.531 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.9726, allocations: 30.44 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.9726, allocations: 6.844 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.9727, allocations: 128.6 kB / 1.161 GB, free: 28.33 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9727, allocations: 0 / 1.161 GB, free: 28.33 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000271/0.973, allocations: 37.11 kB / 1.161 GB, free: 28.32 MB / 1.076 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.835e-05/0.9731, allocations: 111.7 kB / 1.161 GB, free: 28.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.9734, allocations: 148.8 kB / 1.162 GB, free: 28.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.9734, allocations: 0 / 1.162 GB, free: 28.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.9736, allocations: 69.66 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.9739, allocations: 33.27 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.9744, allocations: 352.5 kB / 1.162 GB, free: 27.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.113e-05/0.9745, allocations: 120.3 kB / 1.162 GB, free: 27.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.679e-05/0.9746, allocations: 28.56 kB / 1.162 GB, free: 27.81 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.9746, allocations: 23.03 kB / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.9746, allocations: 0 / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of Templates: time 0.004403/0.979, allocations: 1.449 MB / 1.164 GB, free: 27.65 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.776833861018531]