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.001646/0.001646, allocations: 107.9 kB / 16.27 MB, free: 6.41 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.001743/0.001743, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.422/1.422, 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.551/2.551, allocations: 437.1 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 72.44 kB / 0.87 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.348, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002659/0.3507, allocations: 1.113 MB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3521, allocations: 1.003 MB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.3522, allocations: 7.938 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.186e-05/0.3523, allocations: 27.66 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.3524, allocations: 31.67 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.3526, allocations: 71.92 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.3529, allocations: 220.2 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.3531, allocations: 121.1 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.3533, allocations: 95.56 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.3534, allocations: 95.55 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.3535, allocations: 20 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.484e-05/0.3535, allocations: 24 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.3536, allocations: 51.78 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.875e-05/0.3537, allocations: 99.45 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.354, allocations: 275.3 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.354, allocations: 0 / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.354, allocations: 4 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.354, allocations: 0 / 1.021 GB, free: 7.355 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.000743/0.3548, allocations: 491.1 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3548, allocations: 8.922 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.3549, allocations: 28.64 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.3554, allocations: 276.2 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3554, allocations: 20.81 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.3554, allocations: 16.38 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.3558, allocations: 191.8 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3559, allocations: 3.938 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.3559, allocations: 7.938 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3559, allocations: 4 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.3563, allocations: 149.7 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.3572, allocations: 0.5647 MB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3575, allocations: 130.7 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.3577, allocations: 64.77 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3577, allocations: 8.062 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3578, allocations: 38.55 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3578, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006257/0.3584, allocations: 197.3 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3585, allocations: 55.34 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3586, allocations: 179.8 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3587, allocations: 29.7 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3588, allocations: 140.1 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.3588, allocations: 43.45 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.3589, allocations: 49.62 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3591, allocations: 326.8 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3593, allocations: 55.89 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3595, allocations: 99 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.3599, allocations: 133 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.3599, allocations: 8 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004419/0.3603, allocations: 183 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3604, allocations: 4 kB / 1.025 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3604, allocations: 4.156 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3604, allocations: 4 kB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.3606, allocations: 39.84 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3606, allocations: 4 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3607, allocations: 23.83 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3607, allocations: 4 kB / 1.025 GB, free: 3.574 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.0001447/0.3609, allocations: 138.4 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.3609, allocations: 19.81 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.361, allocations: 17.52 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.361, allocations: 11.88 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.361, allocations: 0 / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.361, allocations: 0 / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.3613, allocations: 261.5 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3614, allocations: 0 / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3615, allocations: 23.97 kB / 1.025 GB, free: 3.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3615, allocations: 0 / 1.025 GB, free: 3.059 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3615, allocations: 8 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3615, allocations: 7.938 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3615, allocations: 0 / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.362, allocations: 261.4 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.3621, allocations: 88.92 kB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.3621, allocations: 0 / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.3622, allocations: 15.92 kB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3623, allocations: 19.98 kB / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3623, allocations: 8 kB / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001507/0.3625, allocations: 123.2 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3625, allocations: 0 / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002742/0.3628, allocations: 35.84 kB / 1.026 GB, free: 2.469 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.0001576/0.3629, allocations: 103.2 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.3634, allocations: 151.7 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3634, allocations: 0 / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3636, allocations: 71.89 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.364, allocations: 26.89 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.3647, allocations: 355.2 kB / 1.026 GB, free: 1.738 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.3651, allocations: 0.7358 MB / 1.027 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.3652, allocations: 27.44 kB / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.3652, allocations: 0 / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of Templates: time 0.004395/0.3696, allocations: 2.065 MB / 1.029 GB, free: 14.89 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=400 -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