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.001782/0.001782, allocations: 102.1 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.002109/0.002109, allocations: 221.7 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.245/3.245, allocations: 0.49 GB / 0.7958 GB, free: 33.53 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.002114/0.002114, allocations: 65.86 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3333, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002424/0.3358, allocations: 1.154 MB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3371, allocations: 1.065 MB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3372, allocations: 4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.161e-05/0.3373, allocations: 23.67 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.3374, allocations: 35.69 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.3377, allocations: 91.83 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.338, allocations: 228.2 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.3382, allocations: 100.5 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.3385, allocations: 95.64 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3386, allocations: 103.5 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.3387, allocations: 24 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.3387, allocations: 32 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.3388, allocations: 47.84 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.181e-05/0.3389, allocations: 103.5 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.3392, allocations: 318.6 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3392, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3392, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.3393, allocations: 0 / 1.33 GB, free: 14.08 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.0007387/0.34, allocations: 433.7 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.34, allocations: 8.031 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3402, allocations: 40.73 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.3407, allocations: 214.5 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.3407, allocations: 12.81 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.3407, allocations: 24.38 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.3411, allocations: 191.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3411, allocations: 192 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.3412, allocations: 19.88 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3412, allocations: 8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.3416, allocations: 157.6 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.3424, allocations: 0.5493 MB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.3428, allocations: 154.6 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.343, allocations: 56.83 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.343, allocations: 8.062 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.343, allocations: 38.55 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 3.357e-06/0.343, allocations: 3.984 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006119/0.3436, allocations: 223.8 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3437, allocations: 51.41 kB / 1.333 GB, free: 11.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3439, allocations: 183.5 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3439, allocations: 25.7 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.344, allocations: 140.4 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.344, allocations: 47.64 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.3441, allocations: 53.7 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3442, allocations: 330.8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3444, allocations: 47.97 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.3446, allocations: 98.98 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.3449, allocations: 144.9 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3449, allocations: 0 / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004317/0.3454, allocations: 203.4 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3454, allocations: 4 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3454, allocations: 3.938 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3454, allocations: 4 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.3456, allocations: 35.91 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3456, allocations: 4.156 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3457, allocations: 27.88 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3457, allocations: 8 kB / 1.334 GB, free: 10.37 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.0001817/0.3459, allocations: 142.2 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.3459, allocations: 19.84 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.346, allocations: 21.8 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.346, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.346, allocations: 4 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.346, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.3463, allocations: 252.5 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3463, allocations: 4 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3464, allocations: 23.92 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3464, allocations: 3.984 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3464, allocations: 4 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3464, allocations: 0 / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3464, allocations: 0 / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.3469, allocations: 272.9 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.3469, allocations: 19.84 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.3469, allocations: 3.984 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.347, allocations: 8 kB / 1.335 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.3471, allocations: 27.95 kB / 1.335 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3471, allocations: 4 kB / 1.335 GB, free: 9.508 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.921e-05/0.3472, allocations: 123.5 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3472, allocations: 4 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002785/0.3475, allocations: 35.89 kB / 1.335 GB, free: 9.348 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.0001203/0.3476, allocations: 113.2 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.348, allocations: 143.9 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.348, allocations: 0 / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.3482, allocations: 73.3 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3485, allocations: 19.94 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.3492, allocations: 374.7 kB / 1.336 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.3495, allocations: 0.736 MB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.3496, allocations: 23.44 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3496, allocations: 3.938 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of Templates: time 0.004133/0.3537, allocations: 2.188 MB / 1.338 GB, free: 5.625 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/jenkins1/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: 11.243227764003677]