Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.DualDuctMixConInletSensor.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_latest_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 98.17 kB / 16.35 MB, free: 5.824 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.001436/0.001436, allocations: 194.6 kB / 17.29 MB, free: 5.48 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 442.6 MB / 0.7165 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 70.78 kB / 0.8774 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3432, allocations: 153 MB / 1.027 GB, free: 1.934 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003747/0.347, allocations: 1.14 MB / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3491, allocations: 1.022 MB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.3493, allocations: 0 / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3495, allocations: 27.67 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.3497, allocations: 27.67 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.3501, allocations: 83.91 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.3505, allocations: 232.1 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.3509, allocations: 128.1 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.3511, allocations: 91.64 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3513, allocations: 103.5 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.3514, allocations: 27.94 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.497e-05/0.3514, allocations: 24 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.3515, allocations: 59.72 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.3516, allocations: 99.47 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.3521, allocations: 306.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.3521, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3521, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.3522, allocations: 4 kB / 1.03 GB, free: 14.57 MB / 0.8106 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.001167/0.3533, allocations: 0.4952 MB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.3534, allocations: 8.031 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.3535, allocations: 28.56 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.3541, allocations: 273.7 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.3541, allocations: 20.75 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.3542, allocations: 28.38 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.3547, allocations: 191.8 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3547, allocations: 192 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.3548, allocations: 15.94 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3548, allocations: 4 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.3553, allocations: 157.6 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.3567, allocations: 0.5878 MB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.3571, allocations: 154.6 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.3574, allocations: 72.81 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3574, allocations: 8 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.3575, allocations: 30.56 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.3575, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0007516/0.3582, allocations: 217.2 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.3583, allocations: 55.39 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.3586, allocations: 191.2 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3587, allocations: 25.7 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3588, allocations: 140.2 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.3589, allocations: 47.3 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.359, allocations: 53.69 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.3592, allocations: 326.8 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3594, allocations: 55.95 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.3597, allocations: 102.2 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.36, allocations: 147.2 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.36, allocations: 0 / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004267/0.3605, allocations: 201.3 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3605, allocations: 6.656 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3605, allocations: 7.938 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.3606, allocations: 0 / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.3607, allocations: 27.98 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.3608, allocations: 11.92 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.3609, allocations: 19.84 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.3609, allocations: 7.938 kB / 1.034 GB, free: 10.64 MB / 0.8106 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.0002334/0.3612, allocations: 141.9 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.3612, allocations: 19.75 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.3613, allocations: 21.88 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3613, allocations: 0 / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.3613, allocations: 4 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3613, allocations: 3.984 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3617, allocations: 273.4 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3617, allocations: 0 / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.3618, allocations: 31.92 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3618, allocations: 0 / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3618, allocations: 4 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3618, allocations: 0 / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3619, allocations: 4 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.3623, allocations: 255.2 kB / 1.034 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3625, allocations: 104.8 kB / 1.034 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.3625, allocations: 4 kB / 1.034 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3626, allocations: 7.984 kB / 1.034 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.3627, allocations: 27.95 kB / 1.034 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3628, allocations: 4 kB / 1.034 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001253/0.3629, allocations: 119.2 kB / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3629, allocations: 0 / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002781/0.3632, allocations: 35.84 kB / 1.035 GB, free: 9.516 MB / 0.8106 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.0002374/0.3634, allocations: 111.2 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004817/0.3639, allocations: 155.7 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3639, allocations: 0 / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.3641, allocations: 78.39 kB / 1.035 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.3645, allocations: 23.94 kB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008598/0.3654, allocations: 338.8 kB / 1.035 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.3658, allocations: 0.7358 MB / 1.036 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.3659, allocations: 17.55 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.366, allocations: 31.36 kB / 1.036 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of SimCode: time 6.81e-07/0.366, allocations: 0 / 1.036 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of Templates: time 0.005015/0.371, allocations: 1.477 MB / 1.038 GB, free: 6.562 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches