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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00907/0.00907, allocations: 94.31 kB / 15.73 MB, free: 6.051 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.001719/0.001719, allocations: 198.8 kB / 16.68 MB, free: 5.973 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.822/2.822, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 63.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3877, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003426/0.3912, allocations: 1.751 MB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.393, allocations: 1.162 MB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.3932, allocations: 4 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.3933, allocations: 51.34 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.3936, allocations: 55.34 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.394, allocations: 187.7 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007128/0.3947, allocations: 0.4886 MB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.3952, allocations: 276.6 kB / 1.171 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.3954, allocations: 203.2 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3957, allocations: 242.9 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.968e-05/0.3958, allocations: 56 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.3959, allocations: 59.94 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.396, allocations: 115.7 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.3962, allocations: 238.7 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.3969, allocations: 0.6922 MB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3969, allocations: 4 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3969, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.3969, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 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.001318/0.3982, allocations: 0.7713 MB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3983, allocations: 12.03 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.591e-05/0.3984, allocations: 60.56 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3995, allocations: 492.2 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.3996, allocations: 41.38 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.3996, allocations: 48.36 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.4007, allocations: 0.4944 MB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4007, allocations: 192 / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.4008, allocations: 23.94 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4008, allocations: 12 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.402, allocations: 425.3 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.4037, allocations: 1.22 MB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/0.4046, allocations: 395.8 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.4052, allocations: 218.4 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.4053, allocations: 4 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.4053, allocations: 46.48 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.4053, allocations: 0 / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.00186/0.4072, allocations: 0.5646 MB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.4073, allocations: 118.8 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.4076, allocations: 274.9 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.4077, allocations: 33.7 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.4078, allocations: 232.6 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.28e-05/0.4079, allocations: 119 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.4082, allocations: 98.09 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4083, allocations: 338.8 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005251/0.4088, allocations: 164.7 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.4094, allocations: 249.7 kB / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.4105, allocations: 387.7 kB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4105, allocations: 0 / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001328/0.4118, allocations: 476.8 kB / 1.179 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4119, allocations: 4 kB / 1.179 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4119, allocations: 4 kB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4119, allocations: 8.25 kB / 1.179 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.4124, allocations: 99.8 kB / 1.179 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.4124, allocations: 11.92 kB / 1.179 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.4127, allocations: 55.73 kB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.4127, allocations: 16 kB / 1.179 GB, free: 9.43 MB / 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: 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.000289/0.413, allocations: 174.4 kB / 1.179 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.4131, allocations: 35.77 kB / 1.18 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.673e-05/0.4132, allocations: 42.2 kB / 1.18 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4133, allocations: 4 kB / 1.18 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4133, allocations: 3.938 kB / 1.18 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4133, allocations: 7.984 kB / 1.18 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.414, allocations: 457.2 kB / 1.18 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.414, allocations: 0 / 1.18 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.4144, allocations: 83.86 kB / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.4144, allocations: 4 kB / 1.18 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.4144, allocations: 11.98 kB / 1.18 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.4144, allocations: 4 kB / 1.18 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4144, allocations: 7.875 kB / 1.18 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.4158, allocations: 0.6713 MB / 1.181 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.4159, allocations: 108.8 kB / 1.181 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.4159, allocations: 8 kB / 1.181 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.4163, allocations: 43.94 kB / 1.181 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.4164, allocations: 59.88 kB / 1.181 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.4165, allocations: 16 kB / 1.181 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001615/0.4166, allocations: 178 kB / 1.181 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4166, allocations: 0 / 1.181 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004682/0.4171, allocations: 83.78 kB / 1.181 GB, free: 7.352 MB / 0.9356 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.0001777/0.4173, allocations: 125.8 kB / 1.181 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.4185, allocations: 415.9 kB / 1.182 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4185, allocations: 0 / 1.182 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.4192, allocations: 235.7 kB / 1.182 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.4197, allocations: 56.42 kB / 1.182 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.4212, allocations: 0.6848 MB / 1.183 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.422, allocations: 0.8115 MB / 1.184 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.4222, allocations: 54.95 kB / 1.184 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.4224, allocations: 39.42 kB / 1.184 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.4224, allocations: 0 / 1.184 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of Templates: time 0.008734/0.4311, allocations: 3.917 MB / 1.187 GB, free: 1.035 MB / 0.9356 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 -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/jenkins/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