Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001442, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 60.03 kB / 0.8708 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3353, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002598/0.3379, allocations: 1.116 MB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3392, allocations: 1.018 MB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.3393, allocations: 4 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.911e-05/0.3394, allocations: 19.73 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3395, allocations: 27.69 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.3398, allocations: 79.91 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.34, allocations: 216.2 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.3403, allocations: 117.1 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.3404, allocations: 99.62 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3406, allocations: 95.48 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.3406, allocations: 20 kB / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.3406, allocations: 24 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.3407, allocations: 55.83 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.48e-05/0.3408, allocations: 95.47 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.3411, allocations: 290.8 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.3411, allocations: 0 / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.614e-06/0.3411, allocations: 0 / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.3411, allocations: 0 / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007779/0.3419, allocations: 491.2 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.342, allocations: 12.91 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.342, allocations: 24.66 kB / 1.023 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.3425, allocations: 279.1 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3426, allocations: 16.75 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.3426, allocations: 20.38 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.343, allocations: 191.8 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.343, allocations: 3.938 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.343, allocations: 12 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.343, allocations: 4 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.3434, allocations: 149.6 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007853/0.3442, allocations: 0.5686 MB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.3445, allocations: 127.1 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3447, allocations: 60.81 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3447, allocations: 0 / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3447, allocations: 38.56 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 9.82e-07/0.3447, allocations: 0 / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0005378/0.3453, allocations: 201.3 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3453, allocations: 59.28 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3455, allocations: 179.3 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3455, allocations: 29.7 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.3456, allocations: 144.1 kB / 1.025 GB, free: 3.762 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.3457, allocations: 43.52 kB / 1.025 GB, free: 3.719 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.3457, allocations: 45.7 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3458, allocations: 322.8 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.346, allocations: 55.95 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.3462, allocations: 95.02 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.3465, allocations: 142.7 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3465, allocations: 0 / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003828/0.3469, allocations: 177.3 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3469, allocations: 8.156 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.3469, allocations: 4 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.347, allocations: 3.984 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3472, allocations: 39.86 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3472, allocations: 0 / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3473, allocations: 19.83 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3473, allocations: 12 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001541/0.3475, allocations: 137.8 kB / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.3476, allocations: 15.8 kB / 1.026 GB, free: 2.598 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.3476, allocations: 21.53 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3476, allocations: 7.938 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3476, allocations: 0 / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3476, allocations: 0 / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.3479, allocations: 269.4 kB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3479, allocations: 0 / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.348, allocations: 27.92 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.348, allocations: 0 / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3481, allocations: 11.98 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3481, allocations: 3.938 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3481, allocations: 0 / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.3484, allocations: 253.3 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.3485, allocations: 92.91 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.3485, allocations: 8 kB / 1.026 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3487, allocations: 15.92 kB / 1.026 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.3487, allocations: 23.97 kB / 1.026 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.3488, allocations: 4 kB / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.3488, allocations: 119.2 kB / 1.026 GB, free: 1.68 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3488, allocations: 0 / 1.026 GB, free: 1.68 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002601/0.3491, allocations: 35.84 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001286/0.3492, allocations: 115.2 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.3496, allocations: 139.8 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3496, allocations: 0 / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3498, allocations: 74 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3501, allocations: 16.31 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.3507, allocations: 330.5 kB / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.351, allocations: 0.7241 MB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.012e-05/0.3511, allocations: 29.48 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.3512, allocations: 23.42 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.3512, allocations: 0 / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of Templates: time 0.004421/0.3556, allocations: 1.435 MB / 1.029 GB, free: 14.77 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches