Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.DualDuctMixConInletSensor.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.00114/0.00114, allocations: 168.7 kB / 15.95 MB, free: 204 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.55/1.55, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.896/2.896, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004555, allocations: 8 kB / 0.8723 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8426/0.8431, allocations: 153.8 MB / 1.022 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.001919/0.845, allocations: 1.304 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.8465, allocations: 1.131 MB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.8466, allocations: 12 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.249e-05/0.8467, allocations: 31.64 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.8468, allocations: 31.67 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.8471, allocations: 123.9 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.8475, allocations: 440.3 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.8479, allocations: 222.3 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.8481, allocations: 127.3 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.8483, allocations: 163.1 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.8483, allocations: 16 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.768e-05/0.8483, allocations: 12 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.8484, allocations: 71.69 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.8485, allocations: 89.45 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.8489, allocations: 0.5083 MB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8489, allocations: 3.938 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.554e-06/0.849, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.849, allocations: 7.938 kB / 1.027 GB, free: 11.7 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.001223/0.8502, allocations: 0.707 MB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.8502, allocations: 8.562 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.8503, allocations: 59.28 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.8514, allocations: 0.5028 MB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.8515, allocations: 41 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.8516, allocations: 44 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.8526, allocations: 0.5134 MB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.8526, allocations: 4 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.8527, allocations: 23.94 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.8527, allocations: 8 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.8539, allocations: 477.3 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.8557, allocations: 1.243 MB / 1.03 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.8566, allocations: 417.7 kB / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.8572, allocations: 238.4 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.8572, allocations: 11.94 kB / 1.031 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.8573, allocations: 46.48 kB / 1.031 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.8573, allocations: 0 / 1.031 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.001726/0.859, allocations: 0.6296 MB / 1.031 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.8591, allocations: 110.8 kB / 1.032 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.8594, allocations: 274.7 kB / 1.032 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.8594, allocations: 33.7 kB / 1.032 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.8596, allocations: 224.2 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.8597, allocations: 110.5 kB / 1.032 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.8597, allocations: 12 kB / 1.032 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.8599, allocations: 346.8 kB / 1.033 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/0.8604, allocations: 188.7 kB / 1.033 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.8609, allocations: 273.7 kB / 1.033 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.8614, allocations: 194.2 kB / 1.033 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8615, allocations: 0 / 1.033 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001206/0.8627, allocations: 0.5136 MB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.8627, allocations: 4 kB / 1.034 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.8627, allocations: 4 kB / 1.034 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.8627, allocations: 4 kB / 1.034 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.8632, allocations: 116 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.8632, allocations: 7.984 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.8635, allocations: 75.64 kB / 1.034 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.8636, allocations: 12 kB / 1.034 GB, free: 3.984 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.0002281/0.8638, allocations: 173.7 kB / 1.034 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/0.8639, allocations: 31.62 kB / 1.034 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.236e-05/0.864, allocations: 42.2 kB / 1.034 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.864, allocations: 8 kB / 1.034 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.864, allocations: 0 / 1.034 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.864, allocations: 7.922 kB / 1.034 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.8646, allocations: 461 kB / 1.035 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.8647, allocations: 8 kB / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.8651, allocations: 95.8 kB / 1.035 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.8651, allocations: 4 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.8651, allocations: 15.98 kB / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8651, allocations: 0 / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8651, allocations: 0 / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.8663, allocations: 0.7079 MB / 1.035 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.8664, allocations: 112.6 kB / 1.035 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.8665, allocations: 8 kB / 1.035 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.8668, allocations: 55.94 kB / 1.036 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.867, allocations: 59.86 kB / 1.036 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.867, allocations: 12 kB / 1.036 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001592/0.8671, allocations: 178 kB / 1.036 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8672, allocations: 0 / 1.036 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004243/0.8676, allocations: 87.59 kB / 1.036 GB, free: 1.855 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.0001892/0.8678, allocations: 120.7 kB / 1.036 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.8689, allocations: 460 kB / 1.036 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8689, allocations: 0 / 1.036 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.8696, allocations: 265.2 kB / 1.037 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.8701, allocations: 56.22 kB / 1.037 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.8714, allocations: 0.7954 MB / 1.037 GB, free: 140 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.8719, allocations: 0.8118 MB / 1.038 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.8721, allocations: 58.89 kB / 1.038 GB, free: 15.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.8723, allocations: 35.42 kB / 1.038 GB, free: 15.21 MB / 0.795 GB Notification: Performance of SimCode: time 1.062e-06/0.8723, allocations: 0 / 1.038 GB, free: 15.21 MB / 0.795 GB Notification: Performance of Templates: time 0.008049/0.8803, allocations: 3.253 MB / 1.042 GB, free: 12.02 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches