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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001483/0.001484, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00152/0.00152, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.5/2.5, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 67.89 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.7499, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003308/0.7533, allocations: 1.75 MB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.7548, allocations: 1.17 MB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.755, allocations: 4 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.7551, allocations: 51.33 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.7553, allocations: 51.34 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.7557, allocations: 191.7 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.7562, allocations: 0.5047 MB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.7566, allocations: 280.7 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.7569, allocations: 203.3 kB / 1.213 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.7572, allocations: 242.9 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.841e-05/0.7573, allocations: 60 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.7573, allocations: 56 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.7574, allocations: 127.6 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.7576, allocations: 234.7 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006394/0.7583, allocations: 0.6982 MB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.7583, allocations: 3.984 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7583, allocations: 0 / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.7583, allocations: 0 / 1.214 GB, free: 7.98 MB / 0.9356 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.001278/0.7596, allocations: 0.7562 MB / 1.215 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.7597, allocations: 15.97 kB / 1.215 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/0.7598, allocations: 60.28 kB / 1.215 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.7609, allocations: 484 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.7609, allocations: 41.31 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.761, allocations: 48.38 kB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.762, allocations: 0.4947 MB / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.7621, allocations: 4.172 kB / 1.216 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.7621, allocations: 23.94 kB / 1.216 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.7621, allocations: 16 kB / 1.216 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.7633, allocations: 429.9 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.765, allocations: 1.228 MB / 1.217 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009359/0.7659, allocations: 407.8 kB / 1.218 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.7665, allocations: 230.4 kB / 1.218 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.7665, allocations: 7.984 kB / 1.218 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.7666, allocations: 46.48 kB / 1.218 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=41): time 1.883e-06/0.7666, allocations: 0 / 1.218 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.001802/0.7684, allocations: 0.5737 MB / 1.219 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.7685, allocations: 110.8 kB / 1.219 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.7688, allocations: 282.7 kB / 1.219 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.7688, allocations: 33.69 kB / 1.219 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.7689, allocations: 216.3 kB / 1.219 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/0.769, allocations: 122.3 kB / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.7692, allocations: 98.11 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7693, allocations: 346.8 kB / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/0.7699, allocations: 156.7 kB / 1.22 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.7704, allocations: 261.5 kB / 1.22 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.7715, allocations: 386.6 kB / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7715, allocations: 4 kB / 1.221 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001329/0.7729, allocations: 469.2 kB / 1.221 GB, free: 380 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.7729, allocations: 8 kB / 1.221 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7729, allocations: 0 / 1.221 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.773, allocations: 4 kB / 1.221 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005123/0.7735, allocations: 104 kB / 1.221 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.7735, allocations: 11.94 kB / 1.221 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.7738, allocations: 63.64 kB / 1.221 GB, free: 188 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.7739, allocations: 19.98 kB / 1.221 GB, free: 168 kB / 0.9356 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.0002867/0.7741, allocations: 169.8 kB / 1.221 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.7742, allocations: 31.62 kB / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.322e-05/0.7743, allocations: 42.2 kB / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.7744, allocations: 7.938 kB / 1.221 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.7744, allocations: 0 / 1.221 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7744, allocations: 0 / 1.221 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007157/0.7751, allocations: 465 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7751, allocations: 4 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.7755, allocations: 87.86 kB / 1.222 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7756, allocations: 7.938 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.7756, allocations: 4 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.7756, allocations: 7.938 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7756, allocations: 0 / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.7769, allocations: 0.6669 MB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.7769, allocations: 112.7 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.777, allocations: 8 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.7774, allocations: 39.89 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.7775, allocations: 59.92 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.7776, allocations: 15.94 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001637/0.7777, allocations: 182 kB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7778, allocations: 0 / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004401/0.7782, allocations: 91.53 kB / 1.223 GB, free: 14.09 MB / 0.9512 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.0001756/0.7784, allocations: 119.2 kB / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.7796, allocations: 419.4 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7796, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006241/0.7803, allocations: 224.2 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.7808, allocations: 49.69 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.7821, allocations: 0.7098 MB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.7825, allocations: 0.8153 MB / 1.225 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.7827, allocations: 47.42 kB / 1.225 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.7827, allocations: 4 kB / 1.225 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of Templates: time 0.008112/0.7908, allocations: 4.876 MB / 1.23 GB, free: 6.797 MB / 0.9512 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