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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001539/0.001539, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001697/0.001697, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 68.27 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3358, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002747/0.3386, allocations: 1.12 MB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.34, allocations: 1.01 MB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.3401, allocations: 0 / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.128e-05/0.3403, allocations: 23.67 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.3404, allocations: 27.73 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3408, allocations: 83.84 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.341, allocations: 216.1 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.3413, allocations: 125.1 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.3415, allocations: 83.66 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.3417, allocations: 103.5 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.3417, allocations: 20 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.381e-05/0.3418, allocations: 24 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.3418, allocations: 47.83 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.3419, allocations: 99.47 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.3422, allocations: 279.3 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3422, allocations: 0 / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3422, allocations: 0 / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.3423, allocations: 0 / 1.021 GB, free: 7.383 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.0007697/0.343, allocations: 493 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3431, allocations: 12.92 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.3432, allocations: 24.66 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.3437, allocations: 280.2 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3437, allocations: 16.81 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.3438, allocations: 16.38 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.3442, allocations: 195.8 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3442, allocations: 3.938 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3442, allocations: 4 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3442, allocations: 4 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.3446, allocations: 145.7 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008364/0.3455, allocations: 0.5686 MB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.3458, allocations: 138.5 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.346, allocations: 60.81 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3461, allocations: 4 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3461, allocations: 34.56 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.3461, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006285/0.3467, allocations: 209.3 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3468, allocations: 55.34 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.347, allocations: 179.3 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.347, allocations: 33.64 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3471, allocations: 136.2 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.3471, allocations: 39.52 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.3472, allocations: 53.69 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3474, allocations: 326.8 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.3475, allocations: 47.97 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.3477, allocations: 93.11 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3481, allocations: 143.2 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3481, allocations: 4 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004363/0.3485, allocations: 185.3 kB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3486, allocations: 4 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3486, allocations: 4 kB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3486, allocations: 0 / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.3488, allocations: 39.91 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3488, allocations: 20.02 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3489, allocations: 23.83 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.349, allocations: 4 kB / 1.025 GB, free: 3.586 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.0001345/0.3491, allocations: 133.8 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.3492, allocations: 15.81 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.3492, allocations: 13.53 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3492, allocations: 7.938 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3492, allocations: 7.984 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3492, allocations: 0 / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.3495, allocations: 261.5 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3495, allocations: 0 / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.3497, allocations: 27.91 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3497, allocations: 0 / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3497, allocations: 4 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3497, allocations: 3.938 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3497, allocations: 0 / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.3502, allocations: 261.5 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.3502, allocations: 92.91 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3503, allocations: 3.938 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3504, allocations: 15.88 kB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.3505, allocations: 19.97 kB / 1.025 GB, free: 2.648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3505, allocations: 4 kB / 1.025 GB, free: 2.645 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001037/0.3506, allocations: 123.2 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3506, allocations: 0 / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003/0.3509, allocations: 39.84 kB / 1.026 GB, free: 2.484 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.0001398/0.3511, allocations: 107.2 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.3515, allocations: 152 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3515, allocations: 0 / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.3517, allocations: 71.89 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3521, allocations: 14.5 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.3528, allocations: 354.8 kB / 1.026 GB, free: 1.762 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3532, allocations: 0.728 MB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.3533, allocations: 27.42 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.3533, allocations: 0 / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of Templates: time 0.004195/0.3575, allocations: 2.068 MB / 1.029 GB, free: 14.92 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 -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