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.001134/0.001134, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.009942/0.009942, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.617/1.617, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.978/2.978, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 11.94 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8091/0.8095, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.002574/0.8122, allocations: 1.397 MB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.814, allocations: 1.135 MB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.8143, allocations: 8 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.8144, allocations: 31.64 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.8146, allocations: 35.66 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.8151, allocations: 155.9 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.8156, allocations: 464.3 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004442/0.8161, allocations: 260.6 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.8163, allocations: 143.2 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.8165, allocations: 171 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.8166, allocations: 16 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.44e-05/0.8166, allocations: 12 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.8167, allocations: 71.64 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.8169, allocations: 200.4 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.8175, allocations: 0.6128 MB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8175, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8175, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.8175, allocations: 0 / 1.028 GB, free: 11.13 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.001379/0.8189, allocations: 0.7057 MB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.819, allocations: 8.031 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.971e-05/0.8191, allocations: 52.28 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.8204, allocations: 0.5194 MB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.8204, allocations: 41.36 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.8205, allocations: 48.38 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.8217, allocations: 0.5218 MB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.8217, allocations: 4.172 kB / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.8218, allocations: 19.94 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.8218, allocations: 12 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.8232, allocations: 481.9 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.825, allocations: 1.231 MB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.8261, allocations: 423.7 kB / 1.032 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.8267, allocations: 244 kB / 1.032 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.8268, allocations: 12 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.8268, allocations: 34.56 kB / 1.032 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.8268, allocations: 0 / 1.032 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.002046/0.8289, allocations: 0.6457 MB / 1.033 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.829, allocations: 110.8 kB / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.8293, allocations: 282.7 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.8293, allocations: 29.7 kB / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.8295, allocations: 224.2 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.8296, allocations: 118.3 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.8297, allocations: 65.67 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.8299, allocations: 338.8 kB / 1.034 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.8305, allocations: 188.7 kB / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/0.8312, allocations: 285.5 kB / 1.034 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.8324, allocations: 434.9 kB / 1.035 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.8324, allocations: 4 kB / 1.035 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001398/0.8338, allocations: 0.5031 MB / 1.035 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.8338, allocations: 12.06 kB / 1.035 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.8339, allocations: 0 / 1.035 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.8339, allocations: 4 kB / 1.035 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.8344, allocations: 107.9 kB / 1.035 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.8344, allocations: 11.94 kB / 1.035 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.8348, allocations: 71.62 kB / 1.035 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.8348, allocations: 16 kB / 1.035 GB, free: 3.043 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 (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.0002744/0.8351, allocations: 173.7 kB / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.8352, allocations: 31.62 kB / 1.035 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.8353, allocations: 46.14 kB / 1.035 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.8353, allocations: 4 kB / 1.035 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.8354, allocations: 7.938 kB / 1.035 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.8354, allocations: 3.984 kB / 1.035 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.836, allocations: 457.1 kB / 1.036 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8361, allocations: 0 / 1.036 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.8365, allocations: 95.86 kB / 1.036 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.8365, allocations: 0 / 1.036 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.8365, allocations: 15.98 kB / 1.036 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.8366, allocations: 4 kB / 1.036 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8366, allocations: 3.938 kB / 1.036 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.838, allocations: 0.72 MB / 1.037 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.8381, allocations: 112.5 kB / 1.037 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.8381, allocations: 12 kB / 1.037 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.8385, allocations: 59.94 kB / 1.037 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.8387, allocations: 59.86 kB / 1.037 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.8387, allocations: 12 kB / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001819/0.8389, allocations: 178 kB / 1.037 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8389, allocations: 0 / 1.037 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004605/0.8394, allocations: 83.69 kB / 1.037 GB, free: 0.8906 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 (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.0001759/0.8396, allocations: 127.2 kB / 1.037 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.8409, allocations: 459.9 kB / 1.038 GB, free: 316 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.8409, allocations: 4 kB / 1.038 GB, free: 312 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007043/0.8417, allocations: 261.3 kB / 1.038 GB, free: 52 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.8422, allocations: 49.95 kB / 1.038 GB, free: 4 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.8436, allocations: 0.8578 MB / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.8441, allocations: 0.8195 MB / 1.04 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000257/0.8444, allocations: 46.97 kB / 1.04 GB, free: 14.22 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.8445, allocations: 39.42 kB / 1.04 GB, free: 14.19 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.8445, allocations: 0 / 1.04 GB, free: 14.19 MB / 0.795 GB Notification: Performance of Templates: time 0.008533/0.853, allocations: 3.343 MB / 1.043 GB, free: 10.91 MB / 0.795 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=400 -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