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.001111/0.001111, allocations: 97.78 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: 187.3 kB / 16.92 MB, free: 6.75 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.795/2.795, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005252/0.0005255, allocations: 10.66 kB / 0.9035 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.329, 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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.002321/0.3314, allocations: 1.402 MB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3332, allocations: 1.139 MB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.3335, allocations: 8 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.3337, allocations: 31.64 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.334, allocations: 35.66 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.3345, allocations: 155.9 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000585/0.3351, allocations: 477 kB / 1.063 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004932/0.3356, allocations: 264.7 kB / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.3358, allocations: 127.3 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.3361, allocations: 174.9 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.3362, allocations: 16 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.564e-05/0.3362, allocations: 20 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.3363, allocations: 71.61 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.3365, allocations: 200.4 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.337, allocations: 0.5106 MB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.337, allocations: 0 / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.337, allocations: 0 / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.337, allocations: 4 kB / 1.064 GB, free: 272 kB / 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.001484/0.3385, allocations: 0.7095 MB / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3386, allocations: 11.97 kB / 1.065 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.3387, allocations: 56.28 kB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.34, allocations: 0.5272 MB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.3401, allocations: 37.38 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.945e-05/0.3402, allocations: 40.38 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.3414, allocations: 0.526 MB / 1.066 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3415, allocations: 4.125 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.3415, allocations: 19.94 kB / 1.066 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3415, allocations: 12 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.343, allocations: 477.9 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.3449, allocations: 1.251 MB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.346, allocations: 443.7 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006488/0.3467, allocations: 254.4 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.3467, allocations: 4 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3468, allocations: 42.55 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 2.334e-06/0.3468, allocations: 0 / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001989/0.3488, allocations: 0.6515 MB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.3488, allocations: 114.7 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.3492, allocations: 278.8 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3492, allocations: 33.7 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.3494, allocations: 220.2 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.3496, allocations: 118.4 kB / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.388e-05/0.3496, allocations: 61.67 kB / 1.07 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3498, allocations: 338.8 kB / 1.07 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006127/0.3504, allocations: 188.7 kB / 1.07 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.3511, allocations: 277.7 kB / 1.07 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3522, allocations: 447.5 kB / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3522, allocations: 0 / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001365/0.3536, allocations: 0.5085 MB / 1.071 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3536, allocations: 9.406 kB / 1.071 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3536, allocations: 4 kB / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3537, allocations: 4 kB / 1.071 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.3542, allocations: 119.9 kB / 1.071 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.3542, allocations: 8 kB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.3546, allocations: 71.64 kB / 1.071 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.3546, allocations: 20 kB / 1.071 GB, free: 8.098 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.0002495/0.3549, allocations: 177.6 kB / 1.072 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.355, allocations: 35.56 kB / 1.072 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.3551, allocations: 42.2 kB / 1.072 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3551, allocations: 7.938 kB / 1.072 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3551, allocations: 4 kB / 1.072 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3551, allocations: 4 kB / 1.072 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.3558, allocations: 461 kB / 1.072 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3558, allocations: 0 / 1.072 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.3562, allocations: 95.86 kB / 1.072 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.3562, allocations: 8 kB / 1.072 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.3563, allocations: 8 kB / 1.072 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.3563, allocations: 7.938 kB / 1.072 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3563, allocations: 0 / 1.072 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.3577, allocations: 0.7168 MB / 1.073 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.3578, allocations: 108.6 kB / 1.073 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.3578, allocations: 11.94 kB / 1.073 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.3583, allocations: 51.89 kB / 1.073 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.3584, allocations: 63.92 kB / 1.073 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.3584, allocations: 11.98 kB / 1.073 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001815/0.3586, allocations: 174 kB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3586, allocations: 4 kB / 1.073 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000466/0.3591, allocations: 87.59 kB / 1.073 GB, free: 5.953 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.0001742/0.3593, allocations: 127.8 kB / 1.074 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.3606, allocations: 467.8 kB / 1.074 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3607, allocations: 0 / 1.074 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000674/0.3613, allocations: 249.4 kB / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.362, allocations: 44.88 kB / 1.074 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3634, allocations: 0.8836 MB / 1.075 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.3639, allocations: 0.8156 MB / 1.076 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.364, allocations: 43.42 kB / 1.076 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.364, allocations: 3.938 kB / 1.076 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of Templates: time 0.008634/0.3727, allocations: 4.792 MB / 1.081 GB, free: 14.5 MB / 0.8419 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