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.001086/0.001086, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 179.3 kB / 16.92 MB, free: 6.918 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 9.344 kB / 0.9035 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3551, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001704/0.3569, allocations: 0.8309 MB / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3586, allocations: 0.9986 MB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.3588, allocations: 8 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.112e-05/0.3589, allocations: 11.86 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.3591, allocations: 15.84 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.3594, allocations: 71.89 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.3597, allocations: 208.2 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.36, allocations: 124.1 kB / 1.062 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.3602, allocations: 67.58 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3604, allocations: 67.56 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.3604, allocations: 8 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.515e-05/0.3605, allocations: 4 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.3605, allocations: 35.73 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.3606, allocations: 105.2 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3609, allocations: 227.6 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3609, allocations: 0 / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3609, allocations: 4 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.3609, allocations: 0 / 1.062 GB, free: 2.105 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.0008043/0.3617, allocations: 467.2 kB / 1.063 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3618, allocations: 11.97 kB / 1.063 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.3619, allocations: 28.66 kB / 1.063 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.3624, allocations: 294.5 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.3625, allocations: 16.81 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.3625, allocations: 20.38 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.363, allocations: 211.8 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.363, allocations: 192 / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.3631, allocations: 7.938 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3631, allocations: 8 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.3637, allocations: 173.6 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3647, allocations: 0.5917 MB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.3652, allocations: 166.6 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3654, allocations: 72.77 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.3654, allocations: 4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3655, allocations: 34.56 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3655, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006831/0.3662, allocations: 235 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3662, allocations: 67.27 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.3665, allocations: 175.7 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3666, allocations: 33.7 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.3668, allocations: 136.3 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.3669, allocations: 51.3 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.3669, allocations: 37.69 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3671, allocations: 326.8 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.3674, allocations: 51.97 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.3677, allocations: 113.7 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.3682, allocations: 151.4 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3682, allocations: 4 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006815/0.3689, allocations: 213.1 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3689, allocations: 8.156 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.369, allocations: 0 / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.369, allocations: 7.938 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3693, allocations: 39.91 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3693, allocations: 0 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.3695, allocations: 27.83 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.3695, allocations: 4 kB / 1.066 GB, free: 14.12 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.0002799/0.3698, allocations: 145.8 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.3699, allocations: 15.75 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/0.3699, allocations: 25.86 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.37, allocations: 4 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.37, allocations: 0 / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.37, allocations: 0 / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.3704, allocations: 265.5 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3705, allocations: 3.938 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.3707, allocations: 39.91 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3707, allocations: 0 / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.3707, allocations: 0 / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.3707, allocations: 3.984 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3707, allocations: 0 / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.3714, allocations: 276.6 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.3715, allocations: 100.7 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.3715, allocations: 8 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3717, allocations: 15.98 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.3718, allocations: 23.97 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3719, allocations: 8 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001361/0.372, allocations: 120.2 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.372, allocations: 0 / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004082/0.3724, allocations: 39.84 kB / 1.067 GB, free: 12.96 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.0002087/0.3726, allocations: 117.2 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006328/0.3733, allocations: 159.8 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3733, allocations: 0 / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.3736, allocations: 93.92 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.374, allocations: 15.94 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.3751, allocations: 454 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.3756, allocations: 0.7361 MB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.3757, allocations: 19.44 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3757, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.0067/0.3824, allocations: 2.126 MB / 1.07 GB, free: 9.199 MB / 0.8262 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 -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