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.001848/0.001848, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002322/0.002322, allocations: 210 kB / 22.99 MB, free: 4.957 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.228/3.228, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002024/0.002024, allocations: 63.66 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3042, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002546/0.3067, allocations: 1.076 MB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.3081, allocations: 1.049 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.3082, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.661e-05/0.3083, allocations: 27.66 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.3084, allocations: 31.73 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.3087, allocations: 91.86 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.3089, allocations: 224.2 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.3092, allocations: 104.5 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.3094, allocations: 99.58 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3096, allocations: 107.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.3096, allocations: 24 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.391e-05/0.3097, allocations: 28 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.3097, allocations: 51.84 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.252e-05/0.3098, allocations: 87.52 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.3102, allocations: 314.6 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3102, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3102, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3102, allocations: 4 kB / 1.33 GB, free: 13.7 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.0007655/0.3109, allocations: 425.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.311, allocations: 12.03 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.3112, allocations: 32.75 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.3116, allocations: 220.7 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.3117, allocations: 20.75 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.3117, allocations: 24.38 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.3121, allocations: 195.8 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3122, allocations: 192 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.3122, allocations: 11.94 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.3122, allocations: 8 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.3126, allocations: 161.6 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.3134, allocations: 479.2 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.3138, allocations: 150.6 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.314, allocations: 64.73 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.314, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.3141, allocations: 34.56 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.3141, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006661/0.3147, allocations: 215.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.3148, allocations: 59.25 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.315, allocations: 183.5 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.315, allocations: 25.7 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3151, allocations: 144.4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.3152, allocations: 55.66 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.3153, allocations: 53.69 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.3154, allocations: 322.8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.3156, allocations: 55.95 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.3158, allocations: 98.23 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.3162, allocations: 145 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3162, allocations: 3.938 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004567/0.3166, allocations: 202.5 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3167, allocations: 8.156 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3167, allocations: 4 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3167, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3169, allocations: 35.91 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3169, allocations: 4 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.317, allocations: 23.88 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.317, allocations: 4 kB / 1.334 GB, free: 10.08 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.00022/0.3173, allocations: 138.4 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.3173, allocations: 19.84 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.3173, allocations: 25.75 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3174, allocations: 3.984 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3174, allocations: 4 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3174, allocations: 0 / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.3176, allocations: 181.2 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3176, allocations: 0 / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3178, allocations: 23.98 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.3178, allocations: 7.938 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3178, allocations: 7.984 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3178, allocations: 0 / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3178, allocations: 0 / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.3183, allocations: 264.6 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.3183, allocations: 27.83 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3183, allocations: 11.88 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3184, allocations: 7.984 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.3185, allocations: 27.95 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.3185, allocations: 8 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.456e-05/0.3186, allocations: 123.5 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3186, allocations: 0 / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002802/0.3189, allocations: 35.89 kB / 1.335 GB, free: 9.129 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.0001349/0.319, allocations: 107.2 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.3195, allocations: 145.8 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3195, allocations: 0 / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.3197, allocations: 75.89 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.32, allocations: 16 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.3206, allocations: 362.5 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.3208, allocations: 125.2 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.649e-05/0.3209, allocations: 21.48 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.3209, allocations: 19.44 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.3209, allocations: 0 / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of Templates: time 0.005198/0.3261, allocations: 1.619 MB / 1.337 GB, free: 6.664 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 -s gbode -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: 8.68629921298998]