Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001406/0.001406, allocations: 80.2 kB / 19.76 MB, free: 1.867 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.001615/0.001615, allocations: 162.2 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.443/1.443, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.708/2.708, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.89 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 169.9 MB / 1.117 GB, free: 2.586 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002585/0.3197, allocations: 1.067 MB / 1.119 GB, free: 1.516 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3212, allocations: 1.042 MB / 1.12 GB, free: 472 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.483e-05/0.3212, allocations: 4 kB / 1.12 GB, free: 468 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.951e-05/0.3213, allocations: 23.67 kB / 1.12 GB, free: 444 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3214, allocations: 43.66 kB / 1.12 GB, free: 400 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.3217, allocations: 87.86 kB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.322, allocations: 224.2 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.3222, allocations: 96.58 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.3225, allocations: 103.6 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.3226, allocations: 87.48 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.3227, allocations: 24 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.3227, allocations: 36 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.3228, allocations: 47.84 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.3229, allocations: 87.58 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.3233, allocations: 314.6 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3233, allocations: 4 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3233, allocations: 4 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3233, allocations: 0 / 1.121 GB, free: 15.3 MB / 1.076 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.0007437/0.324, allocations: 421.8 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3241, allocations: 12.03 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.3243, allocations: 36.73 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.3247, allocations: 218.6 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.3248, allocations: 24.81 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.3248, allocations: 20.38 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.3252, allocations: 196.6 kB / 1.122 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3252, allocations: 192 / 1.122 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.3252, allocations: 11.94 kB / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3253, allocations: 11.98 kB / 1.122 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.3257, allocations: 161.8 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007703/0.3264, allocations: 483.5 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.3268, allocations: 146.6 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.327, allocations: 60.81 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.327, allocations: 4 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.327, allocations: 38.56 kB / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.327, allocations: 0 / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.00063/0.3277, allocations: 209.4 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3277, allocations: 55.34 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3279, allocations: 183 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.3279, allocations: 29.7 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.328, allocations: 140.5 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.3281, allocations: 59.64 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.3281, allocations: 61.56 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3283, allocations: 322.8 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.3285, allocations: 51.97 kB / 1.124 GB, free: 12.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.3287, allocations: 101.1 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.329, allocations: 143.3 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.329, allocations: 0 / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004409/0.3294, allocations: 197.3 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3295, allocations: 4.156 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3295, allocations: 8 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3295, allocations: 0 / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3297, allocations: 35.91 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3297, allocations: 4 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3298, allocations: 23.88 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3298, allocations: 4 kB / 1.124 GB, free: 11.68 MB / 1.076 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.0002147/0.33, allocations: 145.8 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.3301, allocations: 19.84 kB / 1.124 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.3301, allocations: 21.8 kB / 1.124 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3301, allocations: 4 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3301, allocations: 0 / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3301, allocations: 0 / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.3304, allocations: 197.1 kB / 1.124 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3304, allocations: 0 / 1.124 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.3305, allocations: 23.97 kB / 1.124 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3305, allocations: 11.88 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3305, allocations: 4 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3305, allocations: 4 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3305, allocations: 0 / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.331, allocations: 265.9 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.331, allocations: 11.91 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.331, allocations: 3.938 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3312, allocations: 11.98 kB / 1.125 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.3312, allocations: 19.97 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3313, allocations: 8 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.266e-05/0.3313, allocations: 123.2 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3313, allocations: 0 / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002719/0.3316, allocations: 35.89 kB / 1.125 GB, free: 10.73 MB / 1.076 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.0001374/0.3318, allocations: 122 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004173/0.3322, allocations: 140.1 kB / 1.125 GB, free: 10.47 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3322, allocations: 0 / 1.125 GB, free: 10.47 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3324, allocations: 75.89 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3327, allocations: 17.56 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.3333, allocations: 358.8 kB / 1.126 GB, free: 10 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3335, allocations: 121.2 kB / 1.126 GB, free: 9.867 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.722e-05/0.3336, allocations: 21.48 kB / 1.126 GB, free: 9.844 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.3336, allocations: 28.48 kB / 1.126 GB, free: 9.816 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/0.3336, allocations: 0 / 1.126 GB, free: 9.816 MB / 1.076 GB Notification: Performance of Templates: time 0.004776/0.3384, allocations: 1.468 MB / 1.127 GB, free: 8.418 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.394125683000311]