Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.000991/0.0009909, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008989/0.008989, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.562/1.562, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.893/2.893, allocations: 462.7 MB / 0.7364 GB, free: 232 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 15.77 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4332, allocations: 159.6 MB / 1.059 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001626/0.4349, allocations: 0.8306 MB / 1.06 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.4361, allocations: 1.002 MB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.4362, allocations: 4 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.4363, allocations: 15.84 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.4364, allocations: 19.86 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.4367, allocations: 67.89 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.4369, allocations: 212.2 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.4371, allocations: 116.1 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.4373, allocations: 71.59 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.4374, allocations: 71.5 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.4374, allocations: 4 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.4375, allocations: 8 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.4375, allocations: 27.84 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.892e-05/0.4376, allocations: 101.1 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.4379, allocations: 279.2 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4379, allocations: 3.938 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4379, allocations: 0 / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.4379, allocations: 0 / 1.061 GB, free: 2.539 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.0006446/0.4385, allocations: 467.2 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4386, allocations: 8.031 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.4387, allocations: 24.66 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.4391, allocations: 295.1 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.4392, allocations: 12.81 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.4392, allocations: 24.38 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.4396, allocations: 207.8 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4397, allocations: 192 / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.4397, allocations: 19.92 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.4397, allocations: 7.938 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.4401, allocations: 165.7 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.4409, allocations: 0.5917 MB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.4413, allocations: 166.6 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.4415, allocations: 76.81 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.4415, allocations: 7.938 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.4415, allocations: 34.56 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.4415, allocations: 0 / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006245/0.4422, allocations: 242.6 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.4422, allocations: 51.41 kB / 1.064 GB, free: 16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4424, allocations: 182.7 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.4424, allocations: 29.7 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.4425, allocations: 144.2 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.4425, allocations: 47.3 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.4426, allocations: 37.7 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.4427, allocations: 326.8 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4429, allocations: 59.95 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.4431, allocations: 111.2 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.4434, allocations: 150.9 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4434, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004196/0.4438, allocations: 213.1 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4439, allocations: 9.25 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.4439, allocations: 7.922 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4439, allocations: 8.156 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.4441, allocations: 31.97 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4441, allocations: 4 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.4442, allocations: 27.83 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.4443, allocations: 4 kB / 1.065 GB, free: 14.55 MB / 0.8262 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.0001707/0.4444, allocations: 144.5 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.4445, allocations: 19.75 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.4445, allocations: 21.86 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4445, allocations: 0 / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4445, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4446, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.4448, allocations: 269.5 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.4449, allocations: 3.938 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.445, allocations: 23.92 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.445, allocations: 8 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.445, allocations: 7.984 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.445, allocations: 0 / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.445, allocations: 0 / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.4455, allocations: 273.2 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.4455, allocations: 96.8 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.4456, allocations: 3.984 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.4457, allocations: 12 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.4458, allocations: 23.97 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.4458, allocations: 0 / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.4459, allocations: 131.1 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4459, allocations: 3.938 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002625/0.4461, allocations: 43.84 kB / 1.066 GB, free: 13.4 MB / 0.8262 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.0001263/0.4463, allocations: 107.2 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.4467, allocations: 159.8 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4467, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.4469, allocations: 84.2 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.4472, allocations: 30.59 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.4479, allocations: 426.5 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.4482, allocations: 0.7322 MB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.4484, allocations: 21.53 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.4484, allocations: 19.44 kB / 1.068 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.4484, allocations: 0 / 1.068 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of Templates: time 0.004579/0.453, allocations: 1.328 MB / 1.069 GB, free: 10.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches