Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001534/0.001535, allocations: 111.9 kB / 15.99 MB, free: 6.344 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.001451/0.001451, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.603/2.603, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.67 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3638, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.0035/0.3674, allocations: 1.184 MB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3693, allocations: 1.014 MB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.3695, allocations: 4 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.3697, allocations: 11.86 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.3699, allocations: 15.8 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.3702, allocations: 71.94 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.3706, allocations: 228.1 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.371, allocations: 132.1 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.3713, allocations: 91.64 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3715, allocations: 99.53 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.3716, allocations: 27.94 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.3716, allocations: 24 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.3717, allocations: 55.78 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.3718, allocations: 99.47 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.3722, allocations: 243.7 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3722, allocations: 4 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3722, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.3722, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 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.001043/0.3733, allocations: 499 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3734, allocations: 12.03 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.3734, allocations: 24.66 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.374, allocations: 282.1 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.3741, allocations: 12.81 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.3741, allocations: 20.38 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.3747, allocations: 199.8 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3747, allocations: 192 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.3748, allocations: 11.94 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3748, allocations: 8 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.3752, allocations: 157.7 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3763, allocations: 0.5956 MB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.3767, allocations: 158.6 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.3769, allocations: 68.81 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.3769, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3769, allocations: 42.5 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.377, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0006356/0.3776, allocations: 219.2 kB / 1.07 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.3777, allocations: 55.41 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3779, allocations: 183.4 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3779, allocations: 29.7 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.378, allocations: 140.2 kB / 1.07 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.3781, allocations: 43.39 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.3782, allocations: 57.69 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3783, allocations: 322.8 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3785, allocations: 51.97 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.3787, allocations: 102.6 kB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.379, allocations: 154.9 kB / 1.071 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.379, allocations: 0 / 1.071 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004271/0.3795, allocations: 193.2 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3795, allocations: 12.16 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3795, allocations: 3.938 kB / 1.071 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.581e-05/0.3796, allocations: 4 kB / 1.071 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.3798, allocations: 39.91 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3798, allocations: 0 / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.3799, allocations: 19.83 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.3799, allocations: 16 kB / 1.071 GB, free: 7.824 MB / 0.8419 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.0001784/0.3801, allocations: 139 kB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.3802, allocations: 19.75 kB / 1.071 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.3802, allocations: 25.86 kB / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3802, allocations: 3.938 kB / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3803, allocations: 0 / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3803, allocations: 0 / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.3806, allocations: 277.4 kB / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3806, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.3807, allocations: 23.97 kB / 1.071 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3807, allocations: 8 kB / 1.071 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3808, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3808, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3808, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.3812, allocations: 265.2 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.3813, allocations: 92.86 kB / 1.072 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3813, allocations: 12 kB / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3814, allocations: 7.984 kB / 1.072 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.3815, allocations: 19.98 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.3815, allocations: 7.984 kB / 1.072 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.531e-05/0.3816, allocations: 121.2 kB / 1.072 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3816, allocations: 4 kB / 1.072 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002631/0.3819, allocations: 39.75 kB / 1.072 GB, free: 6.691 MB / 0.8419 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.0001427/0.382, allocations: 111.2 kB / 1.072 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004384/0.3825, allocations: 161.8 kB / 1.072 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3825, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.3827, allocations: 75.89 kB / 1.072 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.383, allocations: 28.23 kB / 1.072 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.3837, allocations: 442.5 kB / 1.073 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3841, allocations: 0.7358 MB / 1.073 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.3842, allocations: 23.44 kB / 1.074 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3842, allocations: 3.938 kB / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of Templates: time 0.003989/0.3882, allocations: 2.164 MB / 1.076 GB, free: 2.906 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches