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.001705/0.001705, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002128/0.002128, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.296/3.296, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002085/0.002085, allocations: 69.78 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3627, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00271/0.3654, allocations: 1.066 MB / 1.366 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3671, allocations: 1.053 MB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3673, allocations: 4 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.985e-05/0.3674, allocations: 23.67 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.3675, allocations: 43.66 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.3679, allocations: 79.92 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.3682, allocations: 232.2 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.3684, allocations: 80.61 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.3687, allocations: 111.5 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3688, allocations: 87.53 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.3689, allocations: 24 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.075e-05/0.369, allocations: 28 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.369, allocations: 55.83 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.43e-05/0.3691, allocations: 87.53 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.3695, allocations: 314.6 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3695, allocations: 0 / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3695, allocations: 0 / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.3695, allocations: 0 / 1.368 GB, free: 10.27 MB / 1.061 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.0008361/0.3704, allocations: 425.8 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3704, allocations: 8.031 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.3706, allocations: 36.78 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.3711, allocations: 232.6 kB / 1.369 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.3711, allocations: 16.81 kB / 1.369 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.3711, allocations: 20.38 kB / 1.369 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.3716, allocations: 195.8 kB / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3716, allocations: 192 / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.3716, allocations: 11.94 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3716, allocations: 4 kB / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.372, allocations: 161.6 kB / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007999/0.3728, allocations: 479.2 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.3732, allocations: 150.5 kB / 1.37 GB, free: 8.465 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3734, allocations: 60.83 kB / 1.37 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3734, allocations: 0 / 1.37 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3735, allocations: 46.5 kB / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.3735, allocations: 0 / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0006147/0.3741, allocations: 211.4 kB / 1.37 GB, free: 8.137 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.3741, allocations: 63.34 kB / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.3743, allocations: 182.7 kB / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3743, allocations: 25.7 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3744, allocations: 152.4 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.3745, allocations: 43.62 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/0.3745, allocations: 61.64 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3747, allocations: 326.8 kB / 1.371 GB, free: 7.254 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.3749, allocations: 55.95 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.3751, allocations: 102 kB / 1.371 GB, free: 7.082 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.3754, allocations: 150.7 kB / 1.371 GB, free: 6.918 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3754, allocations: 0 / 1.371 GB, free: 6.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004352/0.3758, allocations: 193.2 kB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3759, allocations: 8.156 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3759, allocations: 4 kB / 1.371 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3759, allocations: 4 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.3761, allocations: 27.92 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3761, allocations: 7.984 kB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3762, allocations: 19.89 kB / 1.371 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3762, allocations: 11.98 kB / 1.371 GB, free: 6.641 MB / 1.061 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.0001876/0.3764, allocations: 137.8 kB / 1.371 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.3764, allocations: 27.83 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.3765, allocations: 17.81 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3765, allocations: 4 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3765, allocations: 0 / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3765, allocations: 3.984 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.3768, allocations: 189.2 kB / 1.372 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3768, allocations: 0 / 1.372 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.3769, allocations: 19.98 kB / 1.372 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3769, allocations: 3.938 kB / 1.372 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3769, allocations: 0 / 1.372 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3769, allocations: 8 kB / 1.372 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.3769, allocations: 11.91 kB / 1.372 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.3773, allocations: 261.2 kB / 1.372 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.3774, allocations: 15.84 kB / 1.372 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.3774, allocations: 7.938 kB / 1.372 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3775, allocations: 11.98 kB / 1.372 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.3776, allocations: 23.97 kB / 1.372 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3776, allocations: 7.984 kB / 1.372 GB, free: 5.852 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.202e-05/0.3777, allocations: 119.2 kB / 1.372 GB, free: 5.734 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3777, allocations: 0 / 1.372 GB, free: 5.734 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002748/0.378, allocations: 39.89 kB / 1.372 GB, free: 5.695 MB / 1.061 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.0001273/0.3781, allocations: 108.6 kB / 1.372 GB, free: 5.578 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.3785, allocations: 148.1 kB / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3785, allocations: 4 kB / 1.372 GB, free: 5.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.3787, allocations: 65.94 kB / 1.372 GB, free: 5.367 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.379, allocations: 27.92 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.3797, allocations: 386.6 kB / 1.373 GB, free: 4.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3798, allocations: 121.2 kB / 1.373 GB, free: 4.793 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/0.3799, allocations: 23.42 kB / 1.373 GB, free: 4.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3799, allocations: 0 / 1.373 GB, free: 4.77 MB / 1.061 GB Notification: Performance of Templates: time 0.004199/0.3841, allocations: 2.225 MB / 1.375 GB, free: 2.551 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.12237811088562]