Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.001351/0.001351, allocations: 77.78 kB / 19.76 MB, free: 2.027 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.001495/0.001495, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.436/1.436, 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.625/2.625, allocations: 359.1 MB / 0.6044 GB, free: 14.84 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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.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.002127/0.002127, allocations: 71.83 kB / 0.9516 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3374, allocations: 169.9 MB / 1.117 GB, free: 2.496 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002573/0.34, allocations: 1.073 MB / 1.119 GB, free: 1.422 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3414, allocations: 1.053 MB / 1.12 GB, free: 364 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.3415, allocations: 4 kB / 1.12 GB, free: 360 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.74e-05/0.3415, allocations: 23.67 kB / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.3417, allocations: 27.75 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.3419, allocations: 91.83 kB / 1.12 GB, free: 216 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.3422, allocations: 232.2 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.3424, allocations: 96.58 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.3427, allocations: 103.6 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3428, allocations: 87.47 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.3428, allocations: 28 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.478e-05/0.3429, allocations: 32 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.3429, allocations: 51.84 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.599e-05/0.343, allocations: 83.53 kB / 1.12 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.3434, allocations: 310.7 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3434, allocations: 0 / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.537e-06/0.3434, allocations: 3.984 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.3434, allocations: 0 / 1.121 GB, free: 15.2 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.0007434/0.3442, allocations: 425.8 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3442, allocations: 8.031 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.3444, allocations: 40.73 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.3448, allocations: 218.5 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.3449, allocations: 16.88 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.3449, allocations: 24.38 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.3453, allocations: 196.6 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3453, allocations: 8.062 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3454, allocations: 15.94 kB / 1.122 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3454, allocations: 4 kB / 1.122 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.3458, allocations: 157.9 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/0.3466, allocations: 479.5 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.347, allocations: 150.6 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.3471, allocations: 60.81 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3472, allocations: 3.984 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3472, allocations: 38.56 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.3472, allocations: 0 / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.0006451/0.3478, allocations: 216.2 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3479, allocations: 59.34 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.3481, allocations: 183 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3481, allocations: 29.7 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3482, allocations: 148.5 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.3482, allocations: 47.58 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.3483, allocations: 49.7 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3485, allocations: 330.8 kB / 1.123 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.3487, allocations: 51.97 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3489, allocations: 107.3 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.3492, allocations: 144 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3492, allocations: 0 / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004369/0.3497, allocations: 197.3 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3497, allocations: 8 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3497, allocations: 0 / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3497, allocations: 4 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3499, allocations: 31.97 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3499, allocations: 3.938 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.35, allocations: 28.03 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.35, allocations: 8 kB / 1.124 GB, free: 11.58 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.0001927/0.3502, allocations: 133.8 kB / 1.124 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.3503, allocations: 19.84 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.3503, allocations: 21.8 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3503, allocations: 0 / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3503, allocations: 4 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3503, allocations: 3.938 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.3506, allocations: 197.1 kB / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3506, allocations: 0 / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3507, allocations: 23.97 kB / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3507, allocations: 7.875 kB / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3507, allocations: 8 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3507, allocations: 0 / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3507, allocations: 0 / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.3512, allocations: 259.2 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.3512, allocations: 19.89 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.3512, allocations: 7.938 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.3513, allocations: 11.98 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.3514, allocations: 19.97 kB / 1.125 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3514, allocations: 11.94 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.069e-05/0.3515, allocations: 115.2 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3515, allocations: 0 / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002781/0.3518, allocations: 39.89 kB / 1.125 GB, free: 10.64 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.0001233/0.3519, allocations: 111.2 kB / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004197/0.3523, allocations: 146 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3523, allocations: 0 / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3525, allocations: 75.89 kB / 1.125 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3528, allocations: 15.86 kB / 1.125 GB, free: 10.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.3535, allocations: 356.8 kB / 1.126 GB, free: 9.914 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.3536, allocations: 121.2 kB / 1.126 GB, free: 9.777 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.665e-05/0.3537, allocations: 29.47 kB / 1.126 GB, free: 9.746 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.3538, allocations: 28.48 kB / 1.126 GB, free: 9.719 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.3538, allocations: 0 / 1.126 GB, free: 9.719 MB / 1.076 GB Notification: Performance of Templates: time 0.004969/0.3587, allocations: 1.457 MB / 1.127 GB, free: 8.328 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.469379785936326]