Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001182/0.001182, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.741/2.741, allocations: 482.4 MB / 0.7553 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 71.47 kB / 0.9245 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7703, allocations: 162.2 MB / 1.083 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.00302/0.7733, allocations: 1.76 MB / 1.085 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.7748, allocations: 1.156 MB / 1.086 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.775, allocations: 7.219 kB / 1.086 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.7751, allocations: 54.14 kB / 1.086 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.7753, allocations: 56.19 kB / 1.086 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.7757, allocations: 188.5 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005935/0.7763, allocations: 0.4918 MB / 1.087 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.7768, allocations: 279.5 kB / 1.087 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.7771, allocations: 210.4 kB / 1.087 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.7774, allocations: 240.9 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.412e-05/0.7775, allocations: 56.94 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.254e-05/0.7776, allocations: 58.38 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.7777, allocations: 124 kB / 1.088 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.778, allocations: 242 kB / 1.088 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007593/0.7788, allocations: 0.6557 MB / 1.088 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.7788, allocations: 0.5156 kB / 1.088 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7788, allocations: 0 / 1.088 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.7788, allocations: 1.156 kB / 1.088 GB, free: 14.42 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.001464/0.7803, allocations: 0.7668 MB / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7803, allocations: 10.12 kB / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.7804, allocations: 57.91 kB / 1.089 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.7817, allocations: 492.6 kB / 1.09 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.7817, allocations: 38.09 kB / 1.09 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.7818, allocations: 49.09 kB / 1.09 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.783, allocations: 0.4971 MB / 1.09 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.783, allocations: 1.312 kB / 1.09 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.7831, allocations: 23.66 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.7831, allocations: 11.53 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.7844, allocations: 433.2 kB / 1.091 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.7864, allocations: 1.247 MB / 1.092 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.7874, allocations: 409 kB / 1.092 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.7881, allocations: 222.8 kB / 1.093 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.7881, allocations: 8.406 kB / 1.093 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.7882, allocations: 46.06 kB / 1.093 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.723e-06/0.7882, allocations: 1.531 kB / 1.093 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.001941/0.7901, allocations: 0.5716 MB / 1.093 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.7902, allocations: 111.9 kB / 1.093 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.7906, allocations: 289.5 kB / 1.094 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.7906, allocations: 30.98 kB / 1.094 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.7908, allocations: 222.2 kB / 1.094 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.7909, allocations: 118.6 kB / 1.094 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.7911, allocations: 94.28 kB / 1.094 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.7913, allocations: 345.1 kB / 1.094 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/0.7919, allocations: 163.8 kB / 1.094 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.7926, allocations: 251.3 kB / 1.095 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.7937, allocations: 389.7 kB / 1.095 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7938, allocations: 1.219 kB / 1.095 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00133/0.7951, allocations: 477.8 kB / 1.096 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.7951, allocations: 6.219 kB / 1.096 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7951, allocations: 3.312 kB / 1.096 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.7952, allocations: 8.844 kB / 1.096 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.7957, allocations: 100.5 kB / 1.096 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.7957, allocations: 9.281 kB / 1.096 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.796, allocations: 58.23 kB / 1.096 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.7961, allocations: 16.94 kB / 1.096 GB, free: 10.24 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.0002657/0.7964, allocations: 172 kB / 1.096 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.7965, allocations: 32.05 kB / 1.096 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.693e-05/0.7966, allocations: 41.16 kB / 1.096 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.7966, allocations: 7.969 kB / 1.096 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.7966, allocations: 1.609 kB / 1.096 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.7966, allocations: 3.672 kB / 1.096 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.7974, allocations: 471.8 kB / 1.096 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7974, allocations: 1.25 kB / 1.096 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.7978, allocations: 83.3 kB / 1.096 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.7978, allocations: 6.875 kB / 1.096 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.7978, allocations: 12.8 kB / 1.096 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.7979, allocations: 6.781 kB / 1.096 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7979, allocations: 0 / 1.096 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.7992, allocations: 0.6571 MB / 1.097 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.7993, allocations: 106.9 kB / 1.097 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.7994, allocations: 7.797 kB / 1.097 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.7998, allocations: 43.66 kB / 1.097 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.8, allocations: 63.5 kB / 1.097 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.8, allocations: 13.8 kB / 1.097 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000187/0.8002, allocations: 177.9 kB / 1.098 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8002, allocations: 4.938 kB / 1.098 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004565/0.8007, allocations: 94.03 kB / 1.098 GB, free: 8.992 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.0001692/0.8008, allocations: 127.7 kB / 1.098 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.8022, allocations: 432.8 kB / 1.098 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8022, allocations: 1.125 kB / 1.098 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.8028, allocations: 227.2 kB / 1.098 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.8034, allocations: 53.67 kB / 1.098 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.8048, allocations: 0.7046 MB / 1.099 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.8053, allocations: 0.8152 MB / 1.1 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.8055, allocations: 49.44 kB / 1.1 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.8055, allocations: 1.656 kB / 1.1 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.008891/0.8144, allocations: 4.856 MB / 1.105 GB, free: 7.02 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches