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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001576/0.001577, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001865/0.001865, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.572/1.572, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.69 kB / 0.8985 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4136, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003315/0.417, allocations: 1.784 MB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.4186, allocations: 1.139 MB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.4188, allocations: 8 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.419, allocations: 35.58 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.4192, allocations: 23.73 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.4195, allocations: 167.9 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.42, allocations: 469 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/0.4204, allocations: 276.7 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.4206, allocations: 179.2 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.4209, allocations: 222.8 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.421, allocations: 36 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.421, allocations: 32 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.4211, allocations: 91.61 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.4213, allocations: 214.7 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005718/0.4219, allocations: 0.6348 MB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4219, allocations: 0 / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4219, allocations: 0 / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4219, allocations: 3.938 kB / 1.057 GB, free: 3.496 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.001429/0.4234, allocations: 0.7679 MB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4234, allocations: 8.031 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.579e-05/0.4235, allocations: 52.28 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.4247, allocations: 491.9 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.4247, allocations: 37.38 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.4248, allocations: 48.38 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.4259, allocations: 0.4986 MB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4259, allocations: 192 / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.426, allocations: 27.94 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.426, allocations: 12 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.4273, allocations: 429.9 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.4291, allocations: 1.259 MB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/0.43, allocations: 411.7 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/0.4306, allocations: 222.5 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.4307, allocations: 8 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.4308, allocations: 38.5 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 2.214e-06/0.4308, allocations: 0 / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001851/0.4326, allocations: 0.5726 MB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.4327, allocations: 114.8 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.433, allocations: 282.7 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.4331, allocations: 33.7 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.4333, allocations: 216.2 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4334, allocations: 122.2 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4335, allocations: 102.1 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4337, allocations: 342.8 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/0.4342, allocations: 156.7 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.4348, allocations: 253.6 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4358, allocations: 390.8 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4358, allocations: 0 / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001398/0.4373, allocations: 474.7 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4373, allocations: 8 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4373, allocations: 0 / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4373, allocations: 4 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/0.4379, allocations: 104 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.4379, allocations: 11.92 kB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.4382, allocations: 63.58 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.4383, allocations: 16 kB / 1.065 GB, free: 11.66 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 (reaToInt2.y,ove.or5.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 (49): * Single equations (assignments): 49 * 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.0002889/0.4386, allocations: 177.7 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4387, allocations: 39.52 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.531e-05/0.4388, allocations: 42.2 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.4388, allocations: 11.92 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.4388, allocations: 0 / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.4388, allocations: 4 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007165/0.4396, allocations: 457.1 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.4396, allocations: 3.984 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.44, allocations: 87.86 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.44, allocations: 4 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.44, allocations: 8 kB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-06/0.44, allocations: 7.938 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4401, allocations: 3.938 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.4414, allocations: 0.665 MB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4416, allocations: 108.6 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.4416, allocations: 12 kB / 1.066 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.442, allocations: 39.89 kB / 1.066 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.4422, allocations: 55.92 kB / 1.066 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.4423, allocations: 15.98 kB / 1.066 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002118/0.4425, allocations: 182 kB / 1.066 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4425, allocations: 0 / 1.066 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005073/0.443, allocations: 83.59 kB / 1.067 GB, free: 9.586 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 (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.0002124/0.4432, allocations: 123.8 kB / 1.067 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.4445, allocations: 413.3 kB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4445, allocations: 4 kB / 1.067 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.4452, allocations: 243.6 kB / 1.067 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.4458, allocations: 48.88 kB / 1.067 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.4475, allocations: 0.8447 MB / 1.068 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.448, allocations: 0.8118 MB / 1.069 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002851/0.4483, allocations: 63.2 kB / 1.069 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.4485, allocations: 35.42 kB / 1.069 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.4485, allocations: 0 / 1.069 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of Templates: time 0.009241/0.4577, allocations: 3.417 MB / 1.072 GB, free: 3.605 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