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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001525/0.001525, allocations: 109.3 kB / 16.27 MB, free: 6.004 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.001474/0.001474, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 482.4 MB / 0.7553 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001929, allocations: 72.44 kB / 0.9246 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.7545, allocations: 162.2 MB / 1.083 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.00305/0.7576, allocations: 1.757 MB / 1.085 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.7591, allocations: 1.161 MB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.7592, allocations: 10.44 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.7594, allocations: 50.06 kB / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.7596, allocations: 56.88 kB / 1.086 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.76, allocations: 184.7 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.7605, allocations: 0.5036 MB / 1.087 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.761, allocations: 278.7 kB / 1.087 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.7613, allocations: 203 kB / 1.087 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.7615, allocations: 240.4 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.084e-05/0.7616, allocations: 58.12 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.7617, allocations: 65.69 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.7618, allocations: 118.9 kB / 1.088 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.7621, allocations: 242.8 kB / 1.088 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007623/0.7628, allocations: 0.6634 MB / 1.088 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7629, allocations: 0.7188 kB / 1.088 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7629, allocations: 0 / 1.088 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.7629, allocations: 0 / 1.088 GB, free: 14.45 MB / 0.8419 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.001457/0.7643, allocations: 0.7683 MB / 1.089 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.7644, allocations: 8.438 kB / 1.089 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.7645, allocations: 54.58 kB / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.7657, allocations: 488.3 kB / 1.09 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.7658, allocations: 38.66 kB / 1.09 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.7659, allocations: 45.09 kB / 1.09 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.767, allocations: 0.4979 MB / 1.09 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.767, allocations: 4.125 kB / 1.09 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.7671, allocations: 24.7 kB / 1.09 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.7671, allocations: 11.81 kB / 1.09 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.7684, allocations: 427.9 kB / 1.091 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.7703, allocations: 1.252 MB / 1.092 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.7713, allocations: 413.5 kB / 1.092 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.772, allocations: 226.3 kB / 1.093 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.772, allocations: 4.844 kB / 1.093 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.7721, allocations: 37.25 kB / 1.093 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.834e-06/0.7721, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.001954/0.774, allocations: 0.5705 MB / 1.093 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.7741, allocations: 116 kB / 1.093 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.7745, allocations: 284 kB / 1.093 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.7745, allocations: 31.45 kB / 1.094 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.7747, allocations: 218.4 kB / 1.094 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7748, allocations: 123.5 kB / 1.094 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.775, allocations: 102.6 kB / 1.094 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7752, allocations: 340.3 kB / 1.094 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.7757, allocations: 159.1 kB / 1.094 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.7764, allocations: 256.4 kB / 1.095 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.7776, allocations: 398.8 kB / 1.095 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7776, allocations: 2.234 kB / 1.095 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001344/0.7789, allocations: 465.8 kB / 1.095 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.779, allocations: 6.766 kB / 1.096 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.779, allocations: 2.406 kB / 1.096 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.779, allocations: 4.938 kB / 1.096 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.7795, allocations: 104.8 kB / 1.096 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.7795, allocations: 5.156 kB / 1.096 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.7799, allocations: 61.27 kB / 1.096 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.7799, allocations: 18.66 kB / 1.096 GB, free: 10.28 MB / 0.8419 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.0002671/0.7802, allocations: 176 kB / 1.096 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.7803, allocations: 31.11 kB / 1.096 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.7804, allocations: 42.09 kB / 1.096 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.7804, allocations: 12.59 kB / 1.096 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.7804, allocations: 1.062 kB / 1.096 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.7805, allocations: 7.469 kB / 1.096 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007087/0.7812, allocations: 458.9 kB / 1.096 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7812, allocations: 1.734 kB / 1.096 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.7816, allocations: 87.11 kB / 1.096 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.7816, allocations: 2.922 kB / 1.096 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.7816, allocations: 9.016 kB / 1.096 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.7817, allocations: 6.156 kB / 1.096 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7817, allocations: 1.766 kB / 1.096 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.783, allocations: 0.6633 MB / 1.097 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/0.7831, allocations: 107.6 kB / 1.097 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.7831, allocations: 7.828 kB / 1.097 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.7835, allocations: 40.33 kB / 1.097 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.7837, allocations: 62.28 kB / 1.097 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.7837, allocations: 14.38 kB / 1.097 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001969/0.7839, allocations: 178 kB / 1.098 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7839, allocations: 4 kB / 1.098 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004923/0.7844, allocations: 95.22 kB / 1.098 GB, free: 9.027 MB / 0.8419 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.0001627/0.7846, allocations: 124.4 kB / 1.098 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.786, allocations: 438.2 kB / 1.098 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.786, allocations: 4 kB / 1.098 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006461/0.7867, allocations: 227.8 kB / 1.098 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.7872, allocations: 53.25 kB / 1.098 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.7886, allocations: 0.7135 MB / 1.099 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.7891, allocations: 0.8144 MB / 1.1 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.7893, allocations: 46.05 kB / 1.1 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.7893, allocations: 0 / 1.1 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of Templates: time 0.009045/0.7983, allocations: 4.84 MB / 1.105 GB, free: 7.059 MB / 0.8419 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=400 -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/jenkins1/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