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.001805/0.001805, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002193/0.002193, allocations: 215.5 kB / 23.01 MB, free: 4.566 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002097/0.002097, allocations: 67.14 kB / 1.119 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3664, allocations: 170 MB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002628/0.369, allocations: 1.134 MB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3705, allocations: 1.065 MB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.3706, allocations: 7.938 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.591e-05/0.3707, allocations: 23.67 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.3708, allocations: 35.72 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.3711, allocations: 83.86 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.3714, allocations: 224.2 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.3716, allocations: 104.5 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.3718, allocations: 107.6 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.372, allocations: 103.5 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.372, allocations: 24 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.3721, allocations: 28 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.3721, allocations: 51.84 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.854e-05/0.3722, allocations: 107.4 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.3726, allocations: 310.7 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3726, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3726, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3726, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 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.0007353/0.3733, allocations: 429.7 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3734, allocations: 8.031 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.3735, allocations: 44.73 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.374, allocations: 210.5 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.374, allocations: 12.81 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.374, allocations: 24.38 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.3745, allocations: 195.8 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3745, allocations: 192 / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.3745, allocations: 15.94 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3745, allocations: 8 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.3749, allocations: 153.7 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.3758, allocations: 0.5649 MB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.3761, allocations: 146.7 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.3763, allocations: 68.75 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3763, allocations: 0 / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3764, allocations: 34.56 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.123e-06/0.3764, allocations: 0 / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0006492/0.377, allocations: 217.3 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.377, allocations: 55.41 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.3772, allocations: 191.9 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3773, allocations: 25.7 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.3774, allocations: 132.5 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.3774, allocations: 55.64 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.3775, allocations: 57.69 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3776, allocations: 326.8 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.3778, allocations: 51.95 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.378, allocations: 103.1 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.3784, allocations: 151.8 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3784, allocations: 3.938 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004327/0.3788, allocations: 193.3 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3788, allocations: 8 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.3788, allocations: 3.984 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3788, allocations: 7.984 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.379, allocations: 31.92 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.379, allocations: 4.156 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3791, allocations: 23.88 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.3792, allocations: 8 kB / 1.291 GB, free: 3.809 MB / 0.9825 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.0002102/0.3794, allocations: 141.8 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.3794, allocations: 19.84 kB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.3795, allocations: 21.81 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3795, allocations: 0 / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3795, allocations: 4 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3795, allocations: 0 / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.3798, allocations: 244.5 kB / 1.292 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3798, allocations: 0 / 1.292 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.3799, allocations: 23.97 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3799, allocations: 4 kB / 1.292 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.38, allocations: 4 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.38, allocations: 0 / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.38, allocations: 0 / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.3804, allocations: 273.2 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.3804, allocations: 15.84 kB / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3805, allocations: 8 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.3806, allocations: 11.98 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.3807, allocations: 23.97 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3807, allocations: 4 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001011/0.3808, allocations: 123.2 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3808, allocations: 0 / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002941/0.3811, allocations: 39.89 kB / 1.292 GB, free: 2.797 MB / 0.9825 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.0001368/0.3812, allocations: 107.2 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.3816, allocations: 147.9 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3816, allocations: 0 / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.3818, allocations: 73.92 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.3821, allocations: 27.86 kB / 1.293 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007386/0.3829, allocations: 366.8 kB / 1.293 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3832, allocations: 0.7359 MB / 1.294 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.3833, allocations: 27.42 kB / 1.294 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3833, allocations: 0 / 1.294 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of Templates: time 0.004386/0.3877, allocations: 2.187 MB / 1.296 GB, free: 15.08 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.269922841980588]