Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00924/0.00924, allocations: 101 kB / 15.73 MB, free: 5.988 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.001782/0.001783, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.14 kB / 0.9509 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003268/0.3389, allocations: 1.764 MB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3405, allocations: 1.135 MB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.3407, allocations: 8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.3409, allocations: 59.2 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.3411, allocations: 55.34 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.3414, allocations: 183.7 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.3419, allocations: 0.4925 MB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.3423, allocations: 280.5 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.3426, allocations: 199.2 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.3428, allocations: 234.9 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.3429, allocations: 56 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.343, allocations: 60 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3431, allocations: 131.6 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.3433, allocations: 226.7 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006341/0.3439, allocations: 0.6848 MB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3439, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/0.344, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.344, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001377/0.3454, allocations: 0.7486 MB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.3454, allocations: 12.03 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.3455, allocations: 52.28 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.3467, allocations: 487.9 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/0.3468, allocations: 37.38 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.3468, allocations: 44.38 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.3479, allocations: 0.5018 MB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3479, allocations: 0 / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.348, allocations: 16 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.348, allocations: 12 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3493, allocations: 421.4 kB / 1.096 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3509, allocations: 1.227 MB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.352, allocations: 403.7 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/0.3526, allocations: 218.4 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3527, allocations: 4 kB / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3527, allocations: 38.56 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.3527, allocations: 0 / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40): time 0.001895/0.3546, allocations: 0.5631 MB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.3547, allocations: 114.8 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.355, allocations: 282.7 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.355, allocations: 33.64 kB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3552, allocations: 224.2 kB / 1.099 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.3553, allocations: 114.4 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.3555, allocations: 94.02 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3556, allocations: 346.8 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.3562, allocations: 164.7 kB / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.3569, allocations: 241.7 kB / 1.1 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.358, allocations: 389.1 kB / 1.1 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.358, allocations: 4 kB / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001305/0.3593, allocations: 464.8 kB / 1.1 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.3594, allocations: 4 kB / 1.1 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3594, allocations: 11.92 kB / 1.1 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.3594, allocations: 7.938 kB / 1.1 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.3599, allocations: 103.8 kB / 1.1 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3599, allocations: 7.984 kB / 1.101 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.3603, allocations: 63.83 kB / 1.101 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.3603, allocations: 12 kB / 1.101 GB, free: 4.207 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (reaToInt2.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 (48): * Single equations (assignments): 48 * 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.0003109/0.3606, allocations: 178.1 kB / 1.101 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.3608, allocations: 31.62 kB / 1.101 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.215e-05/0.3609, allocations: 50.14 kB / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.3609, allocations: 4 kB / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.3609, allocations: 0 / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3609, allocations: 3.984 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.3615, allocations: 457.1 kB / 1.101 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3615, allocations: 4 kB / 1.101 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.3619, allocations: 75.86 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.362, allocations: 4 kB / 1.101 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.362, allocations: 15.94 kB / 1.101 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.362, allocations: 0 / 1.101 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.486e-05/0.362, allocations: 7.984 kB / 1.101 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.3633, allocations: 0.6497 MB / 1.102 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.3634, allocations: 112.6 kB / 1.102 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.3634, allocations: 11.94 kB / 1.102 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.3638, allocations: 39.95 kB / 1.102 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.3639, allocations: 59.92 kB / 1.102 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.3639, allocations: 12 kB / 1.102 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001539/0.3641, allocations: 182 kB / 1.102 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3641, allocations: 0 / 1.102 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000444/0.3646, allocations: 87.59 kB / 1.102 GB, free: 2.148 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.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 (40): * Single equations (assignments): 40 * 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.0001618/0.3647, allocations: 123.1 kB / 1.103 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.366, allocations: 417.8 kB / 1.103 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.366, allocations: 0 / 1.103 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006586/0.3667, allocations: 231.8 kB / 1.103 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.3672, allocations: 56.42 kB / 1.103 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3685, allocations: 0.6857 MB / 1.104 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.3689, allocations: 0.8076 MB / 1.105 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.3691, allocations: 54.95 kB / 1.105 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.3693, allocations: 43.42 kB / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of SimCode: time 5.72e-07/0.3693, allocations: 0 / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.008302/0.3776, allocations: 3.892 MB / 1.109 GB, free: 11.86 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches