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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 104.6 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002272/0.002272, allocations: 189.6 kB / 22.1 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.004/3.004, allocations: 495.8 MB / 0.783 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002369/0.002369, allocations: 75.88 kB / 1.137 GB, free: 12.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32/1.322, allocations: 173.6 MB / 1.307 GB, free: 33.82 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002531/1.325, allocations: 1.143 MB / 1.308 GB, free: 33.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001169/1.326, allocations: 1.024 MB / 1.309 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/1.326, allocations: 2.938 kB / 1.309 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.063e-05/1.326, allocations: 26.44 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/1.326, allocations: 34.2 kB / 1.309 GB, free: 32.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000223/1.326, allocations: 79.67 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/1.326, allocations: 234.5 kB / 1.309 GB, free: 32.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/1.327, allocations: 90.34 kB / 1.309 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/1.327, allocations: 103 kB / 1.309 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/1.327, allocations: 102.2 kB / 1.31 GB, free: 31.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/1.327, allocations: 23.34 kB / 1.31 GB, free: 31.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/1.327, allocations: 26.16 kB / 1.31 GB, free: 31.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/1.327, allocations: 55.61 kB / 1.31 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.694e-05/1.327, allocations: 105.3 kB / 1.31 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/1.328, allocations: 306.1 kB / 1.31 GB, free: 31.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.328, allocations: 4 kB / 1.31 GB, free: 31.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/1.328, allocations: 0 / 1.31 GB, free: 31.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.328, allocations: 0 / 1.31 GB, free: 31.67 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.000681/1.328, allocations: 428.8 kB / 1.31 GB, free: 31.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.328, allocations: 8.875 kB / 1.31 GB, free: 31.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/1.328, allocations: 24.39 kB / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/1.329, allocations: 214.8 kB / 1.311 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/1.329, allocations: 24.19 kB / 1.311 GB, free: 31.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/1.329, allocations: 20.03 kB / 1.311 GB, free: 31.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/1.329, allocations: 200.9 kB / 1.311 GB, free: 31.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.329, allocations: 8.062 kB / 1.311 GB, free: 31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/1.329, allocations: 14.66 kB / 1.311 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.329, allocations: 2.906 kB / 1.311 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/1.33, allocations: 158 kB / 1.311 GB, free: 30.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009393/1.331, allocations: 0.5454 MB / 1.312 GB, free: 30.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/1.331, allocations: 150.6 kB / 1.312 GB, free: 30.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/1.331, allocations: 60.05 kB / 1.312 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/1.331, allocations: 3.031 kB / 1.312 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/1.331, allocations: 38.56 kB / 1.312 GB, free: 30.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/1.331, allocations: 0 / 1.312 GB, free: 30.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.000637/1.332, allocations: 217.9 kB / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.332, allocations: 54.16 kB / 1.312 GB, free: 30.26 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/1.332, allocations: 187.2 kB / 1.312 GB, free: 30.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.332, allocations: 29.7 kB / 1.312 GB, free: 30.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/1.332, allocations: 150.6 kB / 1.312 GB, free: 29.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/1.332, allocations: 44.7 kB / 1.313 GB, free: 29.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/1.332, allocations: 52.45 kB / 1.313 GB, free: 29.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/1.332, allocations: 321.2 kB / 1.313 GB, free: 29.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/1.333, allocations: 58 kB / 1.313 GB, free: 29.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/1.333, allocations: 103.3 kB / 1.313 GB, free: 29.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/1.333, allocations: 148.3 kB / 1.313 GB, free: 29.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.333, allocations: 0 / 1.313 GB, free: 29.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000405/1.334, allocations: 193.1 kB / 1.313 GB, free: 29.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/1.334, allocations: 7.219 kB / 1.313 GB, free: 29.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.334, allocations: 0 / 1.313 GB, free: 29.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/1.334, allocations: 6.656 kB / 1.313 GB, free: 29.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/1.334, allocations: 34.28 kB / 1.313 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.334, allocations: 7.062 kB / 1.313 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/1.334, allocations: 28.47 kB / 1.313 GB, free: 29.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/1.334, allocations: 10.06 kB / 1.313 GB, free: 29.28 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.0002143/1.334, allocations: 142.6 kB / 1.314 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/1.334, allocations: 26.16 kB / 1.314 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/1.334, allocations: 17.19 kB / 1.314 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.334, allocations: 0 / 1.314 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.334, allocations: 0 / 1.314 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.334, allocations: 6.531 kB / 1.314 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/1.335, allocations: 240 kB / 1.314 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.335, allocations: 0 / 1.314 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/1.335, allocations: 27.23 kB / 1.314 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.335, allocations: 6.844 kB / 1.314 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/1.335, allocations: 4 kB / 1.314 GB, free: 28.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.335, allocations: 4 kB / 1.314 GB, free: 28.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.335, allocations: 0 / 1.314 GB, free: 28.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/1.335, allocations: 263 kB / 1.314 GB, free: 28.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/1.335, allocations: 21.06 kB / 1.314 GB, free: 28.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/1.335, allocations: 2.781 kB / 1.314 GB, free: 28.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.335, allocations: 17.25 kB / 1.314 GB, free: 28.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/1.335, allocations: 19 kB / 1.314 GB, free: 28.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/1.335, allocations: 9.406 kB / 1.314 GB, free: 28.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.218e-05/1.335, allocations: 117.1 kB / 1.314 GB, free: 28.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.335, allocations: 0 / 1.314 GB, free: 28.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002677/1.336, allocations: 45.69 kB / 1.314 GB, free: 28.59 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.0001464/1.336, allocations: 102.4 kB / 1.314 GB, free: 28.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004129/1.336, allocations: 152.1 kB / 1.315 GB, free: 28.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.336, allocations: 2.656 kB / 1.315 GB, free: 28.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/1.336, allocations: 74.59 kB / 1.315 GB, free: 28.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/1.337, allocations: 26.02 kB / 1.315 GB, free: 28.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007611/1.337, allocations: 349.2 kB / 1.315 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/1.338, allocations: 0.7332 MB / 1.316 GB, free: 27.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.464e-05/1.338, allocations: 21.52 kB / 1.316 GB, free: 27.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/1.338, allocations: 26.45 kB / 1.316 GB, free: 27.46 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/1.338, allocations: 0 / 1.316 GB, free: 27.46 MB / 1.061 GB Notification: Performance of Templates: time 0.005554/1.343, allocations: 1.575 MB / 1.317 GB, free: 27.34 MB / 1.061 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 -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/jenkins/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: 10.147741868160665]