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.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.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.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_latest_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_latest_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.001749/0.001749, allocations: 100.1 kB / 15.88 MB, free: 12 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.002463/0.002463, allocations: 200 kB / 16.79 MB, free: 6.809 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.436/1.436, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.936/2.936, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 65.23 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3419, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003661/0.3456, allocations: 1.781 MB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3474, allocations: 1.151 MB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.3477, allocations: 4 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.348, allocations: 35.58 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.3483, allocations: 27.72 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.3488, allocations: 171.8 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006095/0.3494, allocations: 469 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.3499, allocations: 272.7 kB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.3501, allocations: 171.2 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.3504, allocations: 222.9 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.3505, allocations: 36 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.3506, allocations: 28 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.3507, allocations: 99.59 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.3509, allocations: 214.7 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.3514, allocations: 0.5185 MB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3514, allocations: 0 / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3514, allocations: 0 / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.3514, allocations: 0 / 1.058 GB, free: 3.07 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00159/0.353, allocations: 0.7679 MB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.3531, allocations: 11.97 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.3532, allocations: 56.28 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3544, allocations: 487.9 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.3544, allocations: 41.38 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.3545, allocations: 48.3 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.3557, allocations: 0.5025 MB / 1.06 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3557, allocations: 4.188 kB / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.3557, allocations: 23.94 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.3558, allocations: 8 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.357, allocations: 433.8 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.3589, allocations: 1.251 MB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009276/0.3599, allocations: 415.8 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.3605, allocations: 222.4 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/0.3605, allocations: 4 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.3606, allocations: 34.56 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 2.815e-06/0.3606, allocations: 7.938 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001803/0.3624, allocations: 0.5766 MB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.3625, allocations: 110.8 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.3628, allocations: 282.7 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.3628, allocations: 33.7 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.363, allocations: 220.2 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3631, allocations: 114.3 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3633, allocations: 102.1 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3634, allocations: 342.8 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/0.3639, allocations: 168.7 kB / 1.064 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.3645, allocations: 249.6 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.3655, allocations: 390.4 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.3656, allocations: 4 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001239/0.3668, allocations: 466.4 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.3668, allocations: 8 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3669, allocations: 4 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3669, allocations: 4 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.3674, allocations: 104 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.3674, allocations: 11.94 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3677, allocations: 55.64 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.3678, allocations: 16 kB / 1.065 GB, free: 11.23 MB / 0.8262 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.0002373/0.368, allocations: 177.7 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.3681, allocations: 35.53 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.145e-05/0.3682, allocations: 42.2 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3682, allocations: 7.938 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.3683, allocations: 4 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3683, allocations: 0 / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.369, allocations: 461.1 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.369, allocations: 0 / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.3694, allocations: 87.86 kB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.3694, allocations: 7.984 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.3695, allocations: 8 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3695, allocations: 7.922 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3695, allocations: 3.938 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.3707, allocations: 0.6689 MB / 1.067 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.3708, allocations: 108.6 kB / 1.067 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.3709, allocations: 12 kB / 1.067 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.3712, allocations: 43.89 kB / 1.067 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.3714, allocations: 59.86 kB / 1.067 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.3714, allocations: 15.98 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000166/0.3716, allocations: 178 kB / 1.067 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3716, allocations: 0 / 1.067 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004738/0.3721, allocations: 91.59 kB / 1.067 GB, free: 9.145 MB / 0.8262 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.0001806/0.3723, allocations: 127.8 kB / 1.067 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.3735, allocations: 417.2 kB / 1.068 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3735, allocations: 4 kB / 1.068 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00059/0.3741, allocations: 223.7 kB / 1.068 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.3747, allocations: 52.75 kB / 1.068 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.3761, allocations: 0.8696 MB / 1.069 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.3766, allocations: 0.8196 MB / 1.07 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.3768, allocations: 39.42 kB / 1.07 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of SimCode: time 8.01e-07/0.3768, allocations: 0 / 1.07 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of Templates: time 0.008393/0.3852, allocations: 4.824 MB / 1.074 GB, free: 1.734 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches