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.001197/0.001197, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001435/0.001435, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.642/2.642, allocations: 436.5 MB / 0.7104 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8663, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.00206/0.8684, allocations: 1.328 MB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.8701, allocations: 1.131 MB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.8703, allocations: 8 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.71e-05/0.8703, allocations: 31.64 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.8705, allocations: 35.89 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.8708, allocations: 131.7 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.8711, allocations: 268.8 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.8715, allocations: 218.3 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.8717, allocations: 123.4 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.8719, allocations: 171 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.8719, allocations: 16 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.596e-05/0.872, allocations: 16 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.8721, allocations: 63.69 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.8722, allocations: 89.45 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.8728, allocations: 0.5122 MB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.8728, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8728, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.8728, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 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.001444/0.8743, allocations: 0.7094 MB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.8743, allocations: 11.98 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/0.8744, allocations: 55.34 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.8756, allocations: 0.5067 MB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.8757, allocations: 37 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.8757, allocations: 48 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.8768, allocations: 0.5095 MB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.8768, allocations: 3.938 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.8769, allocations: 16 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.8769, allocations: 12 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.8782, allocations: 473.4 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.8799, allocations: 1.235 MB / 1.028 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009191/0.8808, allocations: 427.9 kB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.8809, allocations: 12.19 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.8809, allocations: 38.56 kB / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 1.973e-06/0.8809, allocations: 0 / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.001913/0.8828, allocations: 0.6305 MB / 1.029 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.8829, allocations: 114.8 kB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.8832, allocations: 282.7 kB / 1.03 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.8832, allocations: 29.7 kB / 1.03 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.8834, allocations: 224.2 kB / 1.03 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/0.8835, allocations: 114.4 kB / 1.03 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.8835, allocations: 4 kB / 1.03 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8836, allocations: 346.8 kB / 1.031 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.8842, allocations: 188.7 kB / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.8849, allocations: 265.9 kB / 1.031 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.8855, allocations: 197.8 kB / 1.031 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.8855, allocations: 4 kB / 1.031 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00137/0.8869, allocations: 0.5007 MB / 1.032 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.8869, allocations: 8.188 kB / 1.032 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.887, allocations: 8 kB / 1.032 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.887, allocations: 4 kB / 1.032 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.8875, allocations: 107.8 kB / 1.032 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.8875, allocations: 4 kB / 1.032 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.8879, allocations: 83.55 kB / 1.032 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.8879, allocations: 16 kB / 1.032 GB, free: 5.531 MB / 0.7794 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 (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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003354/0.8883, allocations: 181.6 kB / 1.032 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.8884, allocations: 35.61 kB / 1.032 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.8885, allocations: 38.22 kB / 1.032 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8885, allocations: 7.984 kB / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.8885, allocations: 0 / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.8885, allocations: 4 kB / 1.032 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/0.8892, allocations: 453.1 kB / 1.033 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.8893, allocations: 4 kB / 1.033 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.8897, allocations: 87.86 kB / 1.033 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.8897, allocations: 4 kB / 1.033 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.8897, allocations: 15.98 kB / 1.033 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8898, allocations: 4 kB / 1.033 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8898, allocations: 4 kB / 1.033 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.8912, allocations: 0.7355 MB / 1.033 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.8913, allocations: 112.5 kB / 1.034 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.8914, allocations: 11.98 kB / 1.034 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.8918, allocations: 55.95 kB / 1.034 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.892, allocations: 55.92 kB / 1.034 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.892, allocations: 19.89 kB / 1.034 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000315/0.8923, allocations: 174 kB / 1.034 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8923, allocations: 0 / 1.034 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005421/0.8929, allocations: 91.59 kB / 1.034 GB, free: 3.355 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001943/0.8931, allocations: 124.2 kB / 1.034 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.8944, allocations: 456 kB / 1.034 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8944, allocations: 4 kB / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000742/0.8952, allocations: 266 kB / 1.035 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.8956, allocations: 36.98 kB / 1.035 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.8969, allocations: 0.8109 MB / 1.036 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.8973, allocations: 0.8161 MB / 1.036 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002677/0.8976, allocations: 58.95 kB / 1.036 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.8977, allocations: 35.42 kB / 1.036 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.8977, allocations: 4 kB / 1.036 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of Templates: time 0.0073/0.905, allocations: 3.231 MB / 1.04 GB, free: 13.53 MB / 0.795 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","../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