Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001185/0.001185, allocations: 190.7 kB / 16.25 MB, free: 6.152 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.69 kB / 0.8986 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3093, allocations: 157.4 MB / 1.052 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004769/0.3141, allocations: 3.01 MB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3165, allocations: 1.106 MB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.317, allocations: 15.94 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.3174, allocations: 63.39 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.3176, allocations: 51.58 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.3186, allocations: 310.8 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009015/0.3195, allocations: 0.7107 MB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007908/0.3203, allocations: 492.3 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.3206, allocations: 255 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.321, allocations: 242.8 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.3212, allocations: 72 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3214, allocations: 80 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.3216, allocations: 147.5 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.322, allocations: 270.6 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008784/0.3229, allocations: 0.7207 MB / 1.06 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.347e-05/0.3229, allocations: 4 kB / 1.06 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3229, allocations: 0 / 1.06 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.386e-05/0.3229, allocations: 0 / 1.06 GB, free: 1.203 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00231/0.3253, allocations: 0.8868 MB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.3253, allocations: 8.625 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.3256, allocations: 68.27 kB / 1.061 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008372/0.3264, allocations: 432.6 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.3265, allocations: 41.38 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.3266, allocations: 48.38 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.3277, allocations: 0.5394 MB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3278, allocations: 0 / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.3278, allocations: 16 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3278, allocations: 12 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/0.3288, allocations: 399.6 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.3314, allocations: 1.86 MB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.3324, allocations: 362.9 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.3328, allocations: 173.6 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.841e-05/0.3329, allocations: 4 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006866/0.3336, allocations: 254.1 kB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.3336, allocations: 0 / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.001312/0.3349, allocations: 484.8 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.335, allocations: 93.05 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.3355, allocations: 397.5 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.3355, allocations: 45.7 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.3357, allocations: 256.1 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.3358, allocations: 98.73 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.336, allocations: 106.1 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3362, allocations: 354.8 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.3366, allocations: 161 kB / 1.066 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.3371, allocations: 261.9 kB / 1.067 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.338, allocations: 411.4 kB / 1.067 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.338, allocations: 0 / 1.067 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001185/0.3392, allocations: 0.5262 MB / 1.068 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.3392, allocations: 29.7 kB / 1.068 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3392, allocations: 4 kB / 1.068 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.3393, allocations: 8 kB / 1.068 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.3396, allocations: 76.22 kB / 1.068 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.3396, allocations: 11.98 kB / 1.068 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.34, allocations: 71.48 kB / 1.068 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.3401, allocations: 20 kB / 1.068 GB, free: 8.371 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.toOn.t_start,$PRE.preHeatCoil.toOn.t_start,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,preHeatCoil.toOff.t_start,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.fire,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOn.oldActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.toOn.enableFire,preHeatCoil.pumOff.oldActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.active,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.preHeaOn.y,TMix.count,$PRE.TMix.count,TMix.T_start,$PRE.TMix.T_start,$whenCondition1,$whenCondition2,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.0002877/0.3404, allocations: 203.2 kB / 1.068 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.3405, allocations: 47.47 kB / 1.068 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009662/0.3415, allocations: 389.4 kB / 1.068 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3415, allocations: 7.938 kB / 1.068 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.3415, allocations: 0 / 1.068 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3415, allocations: 4 kB / 1.068 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.3432, allocations: 0.9516 MB / 1.069 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3432, allocations: 4 kB / 1.069 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.3435, allocations: 51.94 kB / 1.069 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3435, allocations: 4 kB / 1.069 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.3435, allocations: 11.97 kB / 1.069 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3435, allocations: 4 kB / 1.069 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3435, allocations: 0 / 1.069 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.3449, allocations: 0.6458 MB / 1.07 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.3451, allocations: 144.6 kB / 1.07 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.3452, allocations: 19.92 kB / 1.07 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.3455, allocations: 36.02 kB / 1.07 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.3456, allocations: 47.89 kB / 1.07 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.3457, allocations: 8 kB / 1.07 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002847/0.346, allocations: 267.2 kB / 1.071 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.346, allocations: 0 / 1.071 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004344/0.3464, allocations: 99.69 kB / 1.071 GB, free: 5.336 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 21 (preHeatCoil.toOn.t_start,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 5 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y,preHeatCoil.toOn.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001935/0.3466, allocations: 131.5 kB / 1.071 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.3477, allocations: 451.7 kB / 1.071 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3477, allocations: 4.125 kB / 1.071 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004587/0.3482, allocations: 183.8 kB / 1.071 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.3488, allocations: 81.5 kB / 1.071 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.3504, allocations: 0.9158 MB / 1.072 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.3508, allocations: 0.8274 MB / 1.073 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.351, allocations: 51.44 kB / 1.073 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3512, allocations: 43.42 kB / 1.073 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3512, allocations: 0 / 1.073 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.01027/0.3614, allocations: 4.853 MB / 1.078 GB, free: 13.78 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches