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.002043/0.002043, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002803/0.002803, allocations: 217.3 kB / 22.26 MB, free: 5.078 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.609/1.609, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.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 3.476/3.476, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 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.002138/0.002138, allocations: 67.17 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4169, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003071/0.42, allocations: 1.142 MB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.4218, allocations: 1.073 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.422, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.316e-05/0.4221, allocations: 19.73 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.4222, allocations: 39.66 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.4225, allocations: 83.86 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.4229, allocations: 232.1 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.4231, allocations: 96.59 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.4235, allocations: 103.6 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.4237, allocations: 95.55 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.4237, allocations: 27.94 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.4238, allocations: 32 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.4238, allocations: 51.83 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.424, allocations: 103.4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.4244, allocations: 318.6 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4244, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4244, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.4244, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 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.0008265/0.4253, allocations: 433.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4253, allocations: 8.031 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.4255, allocations: 40.73 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.426, allocations: 202.5 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.4261, allocations: 16.81 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.4261, allocations: 32.36 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.4266, allocations: 195.8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4266, allocations: 4.125 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.4266, allocations: 15.94 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4266, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.427, allocations: 157.6 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009751/0.428, allocations: 0.5571 MB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.4284, allocations: 149.9 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.4286, allocations: 60.81 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.4286, allocations: 4 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4287, allocations: 38.56 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.4287, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006547/0.4293, allocations: 213.3 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.4294, allocations: 59.34 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.4296, allocations: 179.5 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.4296, allocations: 33.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.4297, allocations: 140.5 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.4298, allocations: 47.64 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4299, allocations: 49.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4301, allocations: 330.8 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.4303, allocations: 47.97 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.4305, allocations: 107 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.4309, allocations: 142.5 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4309, allocations: 3.938 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004847/0.4313, allocations: 199.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4314, allocations: 8 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4314, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4314, allocations: 7.938 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.4316, allocations: 31.97 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4316, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.4317, allocations: 23.88 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.4317, allocations: 11.94 kB / 1.333 GB, free: 10.31 MB / 1.029 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.0002268/0.432, allocations: 142.3 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.432, allocations: 19.84 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.4321, allocations: 25.78 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4321, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4321, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4321, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.4324, allocations: 248.5 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4324, allocations: 0 / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.4325, allocations: 27.91 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4325, allocations: 11.94 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.4326, allocations: 8 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4326, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4326, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.433, allocations: 264.5 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.4331, allocations: 19.83 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.4331, allocations: 8 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.4332, allocations: 11.98 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.4333, allocations: 23.91 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.4333, allocations: 8 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001127/0.4334, allocations: 119.5 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4334, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003011/0.4337, allocations: 39.89 kB / 1.334 GB, free: 9.289 MB / 1.029 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.0001601/0.4339, allocations: 107.2 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005591/0.4345, allocations: 147.7 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4345, allocations: 0 / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.4347, allocations: 73.77 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.435, allocations: 24.25 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.4357, allocations: 342.2 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.4361, allocations: 0.7359 MB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.895e-05/0.4362, allocations: 21.48 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.4363, allocations: 27.42 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4363, allocations: 3.938 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of Templates: time 0.005603/0.4419, allocations: 1.56 MB / 1.337 GB, free: 6.254 MB / 1.029 GB " [Timeout remaining time 300] 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: 9.838671057019383]