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.Overrides.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.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001524/0.001524, allocations: 195.6 kB / 16.91 MB, free: 6.195 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.687/2.687, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 66.72 kB / 0.9088 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3171, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003226/0.3204, allocations: 1.782 MB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.322, allocations: 1.147 MB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.3222, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.3223, allocations: 27.66 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.3225, allocations: 35.66 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3229, allocations: 163.9 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.3234, allocations: 0.497 MB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.3238, allocations: 284.7 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.3241, allocations: 203.2 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.3243, allocations: 246.8 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.387e-05/0.3244, allocations: 56 kB / 1.069 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.689e-05/0.3245, allocations: 60 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3246, allocations: 119.6 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.3248, allocations: 246.6 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.3253, allocations: 0.5302 MB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3253, allocations: 4 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3253, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3254, allocations: 0 / 1.069 GB, free: 9.672 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001332/0.3267, allocations: 0.7524 MB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3267, allocations: 12.03 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.516e-05/0.3268, allocations: 56.28 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.328, allocations: 491.8 kB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.3281, allocations: 37.38 kB / 1.071 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.62e-05/0.3281, allocations: 48.36 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.3292, allocations: 0.5064 MB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3292, allocations: 192 / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.3293, allocations: 23.94 kB / 1.071 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3293, allocations: 12 kB / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.3305, allocations: 421.9 kB / 1.072 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.3323, allocations: 1.259 MB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000958/0.3333, allocations: 419.8 kB / 1.073 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.3339, allocations: 214.4 kB / 1.074 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.3339, allocations: 4 kB / 1.074 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.334, allocations: 46.55 kB / 1.074 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.304e-06/0.334, allocations: 0 / 1.074 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.001793/0.3358, allocations: 0.5766 MB / 1.074 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.3359, allocations: 110.8 kB / 1.074 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.3362, allocations: 286.7 kB / 1.075 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3362, allocations: 33.7 kB / 1.075 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.3364, allocations: 212.3 kB / 1.075 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3365, allocations: 122.3 kB / 1.075 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.3367, allocations: 98.11 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3368, allocations: 338.8 kB / 1.075 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.3374, allocations: 168.7 kB / 1.075 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.3379, allocations: 249.6 kB / 1.076 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.339, allocations: 394.9 kB / 1.076 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.339, allocations: 0 / 1.076 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001234/0.3403, allocations: 467.9 kB / 1.077 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3403, allocations: 8 kB / 1.077 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3403, allocations: 4 kB / 1.077 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3403, allocations: 7.938 kB / 1.077 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.3408, allocations: 99.78 kB / 1.077 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3409, allocations: 4 kB / 1.077 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.3412, allocations: 67.55 kB / 1.077 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.3412, allocations: 19.98 kB / 1.077 GB, free: 1.844 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002511/0.3415, allocations: 179.8 kB / 1.077 GB, free: 1.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.3416, allocations: 31.62 kB / 1.077 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.002e-05/0.3417, allocations: 42.2 kB / 1.077 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.3417, allocations: 11.94 kB / 1.077 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3417, allocations: 0 / 1.077 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3417, allocations: 3.984 kB / 1.077 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.3424, allocations: 461.1 kB / 1.077 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3424, allocations: 0 / 1.077 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.3428, allocations: 79.86 kB / 1.078 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3428, allocations: 0 / 1.078 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.3428, allocations: 16 kB / 1.078 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.3428, allocations: 11.94 kB / 1.078 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.3428, allocations: 3.984 kB / 1.078 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3441, allocations: 0.6535 MB / 1.078 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.3442, allocations: 116.5 kB / 1.078 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.3442, allocations: 4 kB / 1.078 GB, free: 156 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.3446, allocations: 43.89 kB / 1.078 GB, free: 112 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.3447, allocations: 67.92 kB / 1.078 GB, free: 44 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3448, allocations: 8 kB / 1.078 GB, free: 36 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.4857/0.8305, allocations: 174.8 kB / 1.079 GB, free: 22.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7.82e-07/0.8305, allocations: 0.5938 kB / 1.079 GB, free: 22.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006916/0.8312, allocations: 87.48 kB / 1.079 GB, free: 22.66 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001957/0.8314, allocations: 130 kB / 1.079 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.8328, allocations: 434.2 kB / 1.079 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8328, allocations: 0.5 kB / 1.079 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.8334, allocations: 226.5 kB / 1.079 GB, free: 22.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.834, allocations: 55.34 kB / 1.079 GB, free: 22.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.8352, allocations: 0.8793 MB / 1.08 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.8355, allocations: 0.812 MB / 1.081 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.8357, allocations: 45.69 kB / 1.081 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.8357, allocations: 0 / 1.081 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.01025/0.8459, allocations: 4.851 MB / 1.086 GB, free: 20.81 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches