Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001479/0.001479, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001614/0.001614, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.498/2.498, allocations: 437.1 MB / 0.7112 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002156, allocations: 76.78 kB / 0.8708 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3524, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003229/0.3557, allocations: 1.757 MB / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3572, allocations: 1.155 MB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3574, allocations: 8 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.3575, allocations: 55.33 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.3577, allocations: 47.36 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.3581, allocations: 191.7 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004231/0.3585, allocations: 0.4924 MB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.3589, allocations: 280.5 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.3591, allocations: 199.3 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.3594, allocations: 234.9 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.3595, allocations: 60 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.3595, allocations: 56 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.3596, allocations: 131.5 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.3598, allocations: 230.7 kB / 1.024 GB, free: 4.934 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.3604, allocations: 0.6817 MB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3604, allocations: 8 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3604, allocations: 0 / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.3604, allocations: 3.938 kB / 1.024 GB, free: 4.238 MB / 0.795 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.001245/0.3617, allocations: 0.7562 MB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3617, allocations: 12.62 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/0.3618, allocations: 56.28 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.3629, allocations: 491.9 kB / 1.026 GB, free: 2.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.363, allocations: 41.31 kB / 1.026 GB, free: 2.801 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.3631, allocations: 48.36 kB / 1.026 GB, free: 2.754 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009968/0.3641, allocations: 0.4906 MB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3641, allocations: 192 / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.3641, allocations: 23.94 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3641, allocations: 12 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.3653, allocations: 429.3 kB / 1.027 GB, free: 1.789 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.3669, allocations: 1.215 MB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008857/0.3678, allocations: 395.8 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.3684, allocations: 226.4 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.3684, allocations: 8 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3685, allocations: 42.5 kB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=40): time 3.096e-06/0.3685, allocations: 0 / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.001699/0.3702, allocations: 0.5639 MB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.3703, allocations: 110.8 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.3705, allocations: 282.7 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3705, allocations: 33.7 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3707, allocations: 216.3 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.144e-05/0.3708, allocations: 118.3 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3709, allocations: 94.11 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3711, allocations: 342.8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/0.3716, allocations: 164.7 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.3721, allocations: 245.6 kB / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/0.3731, allocations: 403.3 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3731, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001176/0.3743, allocations: 464.6 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3744, allocations: 8 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3744, allocations: 0 / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3744, allocations: 12.25 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.3749, allocations: 95.84 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.3749, allocations: 11.88 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.3752, allocations: 59.64 kB / 1.031 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.3752, allocations: 16 kB / 1.031 GB, free: 12.49 MB / 0.8106 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.0002248/0.3755, allocations: 177.7 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.3756, allocations: 31.62 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.815e-05/0.3757, allocations: 42.2 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3757, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3757, allocations: 3.938 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3757, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.3763, allocations: 453.1 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.3763, allocations: 8 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.3767, allocations: 79.86 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3767, allocations: 4 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.3768, allocations: 15.92 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3768, allocations: 3.938 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3768, allocations: 7.938 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.378, allocations: 0.6613 MB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.3781, allocations: 108.7 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.3781, allocations: 7.984 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.3785, allocations: 39.95 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.3786, allocations: 63.88 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3786, allocations: 15.98 kB / 1.033 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001518/0.3788, allocations: 174 kB / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.174e-06/0.3788, allocations: 0 / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004437/0.3793, allocations: 99.47 kB / 1.033 GB, free: 10.42 MB / 0.8106 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.0001488/0.3794, allocations: 121.4 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.3806, allocations: 407.3 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3806, allocations: 0 / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006168/0.3812, allocations: 247.6 kB / 1.034 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.3818, allocations: 52.48 kB / 1.034 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3829, allocations: 0.6679 MB / 1.035 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3833, allocations: 0.8154 MB / 1.036 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002145/0.3836, allocations: 54.95 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.3837, allocations: 35.44 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3837, allocations: 4 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of Templates: time 0.00797/0.3917, allocations: 3.871 MB / 1.04 GB, free: 4.168 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches