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.001134/0.001134, allocations: 86.41 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.001493/0.001493, 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.596/1.596, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.065/3.065, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004388, allocations: 8.25 kB / 0.9022 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4237, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.002318/0.426, allocations: 1.308 MB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.4277, allocations: 1.135 MB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.4278, allocations: 8 kB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.4e-05/0.4279, allocations: 35.58 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.4281, allocations: 31.73 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.4284, allocations: 127.8 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.4289, allocations: 449.1 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.4293, allocations: 214.2 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.4295, allocations: 131.3 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.4297, allocations: 167 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.4298, allocations: 16 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.579e-05/0.4298, allocations: 12 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.4299, allocations: 67.69 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.43, allocations: 89.45 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.4304, allocations: 0.5223 MB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4304, allocations: 0 / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.316e-06/0.4304, allocations: 0 / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4304, allocations: 3.938 kB / 1.062 GB, free: 1 MB / 0.8106 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.001315/0.4318, allocations: 0.7055 MB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.4318, allocations: 12.03 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.432, allocations: 51.34 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.4332, allocations: 0.5222 MB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.4332, allocations: 37 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.58e-05/0.4333, allocations: 47.95 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.4344, allocations: 0.5254 MB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4345, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.4345, allocations: 16 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.4345, allocations: 12 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.4357, allocations: 477.9 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.4375, allocations: 1.252 MB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000879/0.4383, allocations: 435.8 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.4389, allocations: 252.2 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.439, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.439, allocations: 58.33 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.439, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001733/0.4408, allocations: 0.6381 MB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.4409, allocations: 110.8 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.4411, allocations: 278.7 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4412, allocations: 33.7 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.4413, allocations: 216.2 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.4414, allocations: 122.3 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.4414, allocations: 4 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4416, allocations: 350.8 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.4421, allocations: 188.7 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.4426, allocations: 273.7 kB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.4431, allocations: 185.2 kB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4432, allocations: 3.953 kB / 1.069 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001163/0.4443, allocations: 0.5061 MB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4444, allocations: 11.94 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4444, allocations: 4 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4444, allocations: 4 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.4449, allocations: 116 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4449, allocations: 4 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.4452, allocations: 71.55 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.4453, allocations: 23.98 kB / 1.07 GB, free: 9.207 MB / 0.8262 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 (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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002681/0.4455, allocations: 169.7 kB / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.4456, allocations: 35.56 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-05/0.4457, allocations: 46.16 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4457, allocations: 4 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.4458, allocations: 4 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.4458, allocations: 7.984 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.4464, allocations: 453.2 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4464, allocations: 0 / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.4468, allocations: 91.86 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.4468, allocations: 8 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.4469, allocations: 15.95 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.4469, allocations: 3.984 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4469, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.4481, allocations: 0.704 MB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.4482, allocations: 116.5 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.4483, allocations: 7.953 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.4486, allocations: 63.88 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.4488, allocations: 55.92 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.4488, allocations: 16 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001705/0.449, allocations: 174 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.449, allocations: 3.938 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004523/0.4494, allocations: 91.59 kB / 1.072 GB, free: 7.066 MB / 0.8262 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 (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.000181/0.4496, allocations: 119.9 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.4508, allocations: 469.7 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4508, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006219/0.4515, allocations: 264.1 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.452, allocations: 49.09 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4533, allocations: 0.815 MB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.4537, allocations: 0.8079 MB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.454, allocations: 63.25 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.4541, allocations: 35.42 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.4542, allocations: 0 / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of Templates: time 0.007717/0.4619, allocations: 3.292 MB / 1.077 GB, free: 1.172 MB / 0.8262 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/jenkins/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