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.001122/0.001122, allocations: 103 kB / 16.36 MB, free: 6.336 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.0009937/0.0009938, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.17 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.465/2.465, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 68 kB / 0.8707 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3293, allocations: 151.6 MB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002555/0.332, allocations: 1.125 MB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3331, allocations: 1.014 MB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.3332, allocations: 4 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.3333, allocations: 19.73 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.3334, allocations: 23.67 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.3337, allocations: 79.86 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.3339, allocations: 220.2 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.3341, allocations: 121.1 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.3343, allocations: 95.52 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.3344, allocations: 95.53 kB / 1.022 GB, free: 6.984 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.3345, allocations: 24 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.816e-05/0.3345, allocations: 28 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.3346, allocations: 47.84 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.189e-05/0.3346, allocations: 95.47 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.3349, allocations: 293 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3349, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3349, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3349, allocations: 4 kB / 1.022 GB, free: 6.504 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.0006445/0.3356, allocations: 487.1 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3356, allocations: 12.92 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.3357, allocations: 24.66 kB / 1.023 GB, free: 5.945 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.3361, allocations: 287 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3362, allocations: 12.81 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3362, allocations: 24.38 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.3366, allocations: 179.8 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3366, allocations: 3.938 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3366, allocations: 12 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3366, allocations: 11.98 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.337, allocations: 141.7 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.3378, allocations: 0.5647 MB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.3381, allocations: 130.6 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.3382, allocations: 64.77 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3383, allocations: 0 / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.3383, allocations: 30.56 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.3383, allocations: 0 / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0005651/0.3389, allocations: 209.3 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.3389, allocations: 63.28 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3391, allocations: 175.3 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3391, allocations: 25.7 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.3392, allocations: 144.2 kB / 1.025 GB, free: 3.742 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.3392, allocations: 39.45 kB / 1.025 GB, free: 3.703 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.3393, allocations: 53.7 kB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3394, allocations: 326.8 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3395, allocations: 47.97 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.3397, allocations: 94.67 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.34, allocations: 143.2 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.34, allocations: 7.938 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000373/0.3404, allocations: 181.3 kB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3404, allocations: 8 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3404, allocations: 0 / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3405, allocations: 4 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.3406, allocations: 36.08 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3407, allocations: 8 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3408, allocations: 19.83 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3408, allocations: 8 kB / 1.025 GB, free: 2.73 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.0001175/0.3409, allocations: 137.8 kB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.3409, allocations: 15.81 kB / 1.026 GB, free: 2.57 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.341, allocations: 21.53 kB / 1.026 GB, free: 2.555 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.341, allocations: 7.938 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.341, allocations: 0 / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.341, allocations: 0 / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.3413, allocations: 265.5 kB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3413, allocations: 0 / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.3414, allocations: 23.92 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3414, allocations: 0 / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3414, allocations: 7.984 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3414, allocations: 3.938 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3415, allocations: 0 / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.3418, allocations: 257.6 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3419, allocations: 88.92 kB / 1.026 GB, free: 1.832 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.3419, allocations: 4 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.342, allocations: 15.92 kB / 1.026 GB, free: 1.812 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.3421, allocations: 23.97 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3421, allocations: 4 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.814e-05/0.3422, allocations: 119.2 kB / 1.026 GB, free: 1.668 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.014e-06/0.3422, allocations: 0 / 1.026 GB, free: 1.668 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002827/0.3425, allocations: 39.78 kB / 1.026 GB, free: 1.629 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.0001175/0.3426, allocations: 111.2 kB / 1.027 GB, free: 1.512 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.343, allocations: 148 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.343, allocations: 0 / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.3432, allocations: 75.89 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3435, allocations: 19.94 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.3441, allocations: 326.6 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3444, allocations: 0.7281 MB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.804e-05/0.3445, allocations: 17.55 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.3445, allocations: 27.42 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3445, allocations: 0 / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of Templates: time 0.004219/0.3488, allocations: 1.435 MB / 1.029 GB, free: 14.75 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 gbode -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