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.001508/0.001508, 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.001584/0.001584, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.709/2.709, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7096, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003898/0.7135, allocations: 1.791 MB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.7153, allocations: 1.135 MB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.7155, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.7156, allocations: 35.58 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.7158, allocations: 31.72 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.7162, allocations: 159.9 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.7167, allocations: 464.3 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.7172, allocations: 268.6 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.7174, allocations: 179.2 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.7176, allocations: 222.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.7177, allocations: 32 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.7178, allocations: 28 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.7179, allocations: 95.59 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.7181, allocations: 210.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.7187, allocations: 0.6364 MB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.7187, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.22e-07/0.7187, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7187, allocations: 0 / 1.022 GB, free: 13.51 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.001424/0.7201, allocations: 0.7601 MB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.7202, allocations: 8.031 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.958e-05/0.7203, allocations: 56.28 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.7214, allocations: 487.9 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.7215, allocations: 41.38 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.7215, allocations: 44.38 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.7226, allocations: 0.4983 MB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.7226, allocations: 192 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.7227, allocations: 27.94 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.7227, allocations: 12 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.7239, allocations: 421.9 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.7256, allocations: 1.239 MB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00089/0.7265, allocations: 391.8 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.7271, allocations: 222.5 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.7271, allocations: 11.91 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.7272, allocations: 30.56 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/0.7272, allocations: 4 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.001775/0.729, allocations: 0.5654 MB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.729, allocations: 114.8 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.7294, allocations: 274.8 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.7294, allocations: 41.64 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.7296, allocations: 220.2 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.7297, allocations: 118.3 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.7298, allocations: 98.11 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.73, allocations: 342.8 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.7306, allocations: 156.7 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.7312, allocations: 253.6 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.7322, allocations: 391.4 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7322, allocations: 3.938 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001191/0.7334, allocations: 468.6 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.7335, allocations: 4 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7335, allocations: 7.938 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7335, allocations: 4.25 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.734, allocations: 103.8 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.734, allocations: 11.94 kB / 1.029 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.7343, allocations: 55.64 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.7343, allocations: 19.98 kB / 1.029 GB, free: 5.734 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.0002618/0.7346, allocations: 177.7 kB / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.7347, allocations: 31.62 kB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.77e-05/0.7348, allocations: 42.2 kB / 1.029 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.7348, allocations: 4 kB / 1.029 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.7348, allocations: 3.938 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7348, allocations: 4 kB / 1.029 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/0.7354, allocations: 453.1 kB / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7355, allocations: 7.984 kB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.7359, allocations: 83.86 kB / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.7359, allocations: 3.984 kB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.7359, allocations: 8 kB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7359, allocations: 4 kB / 1.03 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7359, allocations: 3.938 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.7372, allocations: 0.6629 MB / 1.03 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.7372, allocations: 112.6 kB / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.7373, allocations: 8 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.7376, allocations: 35.95 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.7378, allocations: 63.86 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.7378, allocations: 12 kB / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001543/0.738, allocations: 182 kB / 1.031 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.738, allocations: 0 / 1.031 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004317/0.7385, allocations: 87.59 kB / 1.031 GB, free: 3.68 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.000147/0.7386, allocations: 120.7 kB / 1.031 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.7397, allocations: 416 kB / 1.031 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7398, allocations: 0 / 1.031 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.7404, allocations: 240.5 kB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.7409, allocations: 48.48 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.7422, allocations: 0.8506 MB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.7426, allocations: 0.8079 MB / 1.033 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002585/0.7429, allocations: 54.95 kB / 1.033 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.743, allocations: 35.42 kB / 1.033 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.743, allocations: 0 / 1.033 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of Templates: time 0.007041/0.75, allocations: 3.377 MB / 1.037 GB, free: 13.75 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=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