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.001755/0.001755, allocations: 102.3 kB / 19.7 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.002179/0.002179, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.317/3.317, allocations: 0.505 GB / 0.8108 GB, free: 21.99 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.002989/0.002989, allocations: 62.19 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3789, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002729/0.3816, allocations: 1.146 MB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3831, allocations: 1.066 MB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.3833, allocations: 4 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.635e-05/0.3834, allocations: 23.67 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.3835, allocations: 35.67 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.3838, allocations: 87.84 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.3841, allocations: 232.2 kB / 1.357 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.3844, allocations: 100.6 kB / 1.357 GB, free: 5.254 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.3846, allocations: 99.59 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.3848, allocations: 103.5 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.3848, allocations: 24 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.941e-05/0.3849, allocations: 31.94 kB / 1.357 GB, free: 5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.3849, allocations: 55.78 kB / 1.357 GB, free: 4.945 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.819e-05/0.385, allocations: 99.47 kB / 1.357 GB, free: 4.848 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.3855, allocations: 318.6 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3855, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3855, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.3855, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 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.0007979/0.3863, allocations: 439.9 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3863, allocations: 8.031 kB / 1.358 GB, free: 4.066 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.3865, allocations: 32.78 kB / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.387, allocations: 214.5 kB / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.387, allocations: 16.81 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.387, allocations: 24.38 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.3875, allocations: 195.8 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.3875, allocations: 192 / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.3875, allocations: 11.94 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3875, allocations: 11.94 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.3879, allocations: 157.6 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008872/0.3888, allocations: 0.5493 MB / 1.359 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.3892, allocations: 150.6 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3894, allocations: 60.83 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3894, allocations: 4 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3894, allocations: 34.56 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.3894, allocations: 4 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0006536/0.3901, allocations: 214.4 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3901, allocations: 55.41 kB / 1.36 GB, free: 2.238 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3903, allocations: 178.2 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3904, allocations: 29.7 kB / 1.36 GB, free: 2.016 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3905, allocations: 144.5 kB / 1.36 GB, free: 1.871 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.3905, allocations: 51.58 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.3906, allocations: 53.69 kB / 1.36 GB, free: 1.762 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3908, allocations: 322.8 kB / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.3909, allocations: 55.95 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3911, allocations: 102.6 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.3915, allocations: 142.5 kB / 1.361 GB, free: 1.109 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3915, allocations: 4 kB / 1.361 GB, free: 1.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004492/0.3919, allocations: 203.7 kB / 1.361 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.392, allocations: 8 kB / 1.361 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.392, allocations: 0 / 1.361 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.392, allocations: 7.938 kB / 1.361 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.3922, allocations: 31.91 kB / 1.361 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3922, allocations: 4 kB / 1.361 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.3923, allocations: 23.89 kB / 1.361 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.3923, allocations: 11.92 kB / 1.361 GB, free: 0.8164 MB / 1.045 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.0002246/0.3925, allocations: 154.4 kB / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.3926, allocations: 15.84 kB / 1.361 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.3926, allocations: 17.81 kB / 1.361 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3926, allocations: 4 kB / 1.361 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3927, allocations: 0 / 1.361 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3927, allocations: 3.984 kB / 1.361 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.393, allocations: 248.5 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.393, allocations: 0 / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.3931, allocations: 27.92 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3931, allocations: 0 / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3932, allocations: 8 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3932, allocations: 0 / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3932, allocations: 3.984 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.3936, allocations: 259.3 kB / 1.362 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.3936, allocations: 19.84 kB / 1.362 GB, free: 0 / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.3936, allocations: 0 / 1.362 GB, free: 0 / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3938, allocations: 15.98 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.3938, allocations: 19.97 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3939, allocations: 7.984 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.783e-05/0.394, allocations: 124.2 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.394, allocations: 0 / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002848/0.3942, allocations: 39.89 kB / 1.362 GB, free: 15.8 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.0001423/0.3944, allocations: 116 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.3948, allocations: 142.4 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3948, allocations: 0 / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.395, allocations: 72.22 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3953, allocations: 23.92 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.396, allocations: 382.7 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3964, allocations: 0.732 MB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.3964, allocations: 27.42 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3964, allocations: 0 / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of Templates: time 0.00431/0.4007, allocations: 2.186 MB / 1.365 GB, free: 12.07 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.573437102983007]