Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007891/0.007891, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001188/0.001188, allocations: 200.2 kB / 16.67 MB, free: 5.98 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 63.91 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3088, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003777/0.3126, allocations: 2.625 MB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3147, allocations: 1.484 MB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.3148, allocations: 4 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007331/0.3156, allocations: 231.1 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.316, allocations: 187.2 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.3164, allocations: 151.6 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.3166, allocations: 227.3 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.3169, allocations: 178.5 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3171, allocations: 95.67 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.3173, allocations: 119.5 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.3174, allocations: 16 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.3177, allocations: 227.5 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.3178, allocations: 63.86 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.3179, allocations: 91.53 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.3182, allocations: 330.9 kB / 1.214 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3182, allocations: 3.984 kB / 1.214 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3182, allocations: 0 / 1.214 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3183, allocations: 4 kB / 1.214 GB, free: 3.637 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006415/0.3189, allocations: 479.2 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3189, allocations: 12.61 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.3195, allocations: 76.66 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.3198, allocations: 235.9 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3198, allocations: 12.69 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.3198, allocations: 20.38 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.3203, allocations: 324.4 kB / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3203, allocations: 3.938 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.3203, allocations: 8 kB / 1.215 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.3204, allocations: 28.27 kB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.3207, allocations: 248.6 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.3222, allocations: 1.63 MB / 1.217 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.3228, allocations: 411.2 kB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3229, allocations: 85.67 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.3231, allocations: 89.09 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.3231, allocations: 34.56 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.3231, allocations: 0 / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0006115/0.3237, allocations: 309.1 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3238, allocations: 85.11 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3239, allocations: 179.2 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.324, allocations: 25.7 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.3241, allocations: 143.9 kB / 1.218 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.3241, allocations: 51.3 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/0.3242, allocations: 45.61 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.3243, allocations: 322.8 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3244, allocations: 92.75 kB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.3246, allocations: 146.3 kB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.3249, allocations: 255.4 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3249, allocations: 0 / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003653/0.3253, allocations: 261.3 kB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3253, allocations: 8 kB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3253, allocations: 4 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3253, allocations: 16.22 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.3256, allocations: 55.95 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3256, allocations: 7.938 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3257, allocations: 19.89 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3257, allocations: 15.92 kB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001706/0.3259, allocations: 176.1 kB / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001294/0.3261, allocations: 143.7 kB / 1.219 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002449/0.3263, allocations: 232.1 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.735e-06/0.3263, allocations: 7.984 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003347/0.3267, allocations: 249.4 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.3267, allocations: 4 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.3267, allocations: 7.938 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-06/0.3267, allocations: 4 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3269, allocations: 59.84 kB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3269, allocations: 4 kB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.327, allocations: 19.83 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.327, allocations: 8.344 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 9.806e-05/0.3271, allocations: 196.2 kB / 1.22 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.3272, allocations: 15.91 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.3275, allocations: 211.7 kB / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3276, allocations: 0 / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3276, allocations: 0 / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3276, allocations: 4 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.3287, allocations: 0.9689 MB / 1.221 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3288, allocations: 4 kB / 1.221 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.3289, allocations: 31.92 kB / 1.221 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3289, allocations: 4 kB / 1.221 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3289, allocations: 4 kB / 1.221 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3289, allocations: 7.984 kB / 1.221 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3289, allocations: 8.375 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.3293, allocations: 443.5 kB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.3294, allocations: 112.9 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.3294, allocations: 4 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3296, allocations: 15.98 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.3297, allocations: 23.92 kB / 1.222 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3297, allocations: 4 kB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.804e-05/0.3298, allocations: 141 kB / 1.222 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3298, allocations: 0 / 1.222 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004879/0.3303, allocations: 72 kB / 1.222 GB, free: 10.07 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0001384/0.3304, allocations: 119.1 kB / 1.222 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.3309, allocations: 308.8 kB / 1.223 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3309, allocations: 0 / 1.223 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.331, allocations: 92.2 kB / 1.223 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.3315, allocations: 29.48 kB / 1.223 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.3323, allocations: 485 kB / 1.223 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3326, allocations: 0.748 MB / 1.224 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.3328, allocations: 77.41 kB / 1.224 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.3328, allocations: 15.44 kB / 1.224 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3328, allocations: 0 / 1.224 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of Templates: time 0.004235/0.3371, allocations: 1.854 MB / 1.226 GB, free: 6.285 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches