Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, 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.001637/0.001637, allocations: 195.7 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6839, allocations: 140.4 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002071/0.686, allocations: 1.199 MB / 0.9502 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.6875, allocations: 1.57 MB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.6876, allocations: 4.125 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.6877, allocations: 19.73 kB / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.6878, allocations: 45.19 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008464/0.6887, allocations: 454.9 kB / 0.9523 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.689, allocations: 0.5113 MB / 0.9528 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.6893, allocations: 148.7 kB / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.6895, allocations: 187.5 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.6896, allocations: 177.1 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/0.6897, allocations: 28.91 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.6898, allocations: 43.77 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.6899, allocations: 70.75 kB / 0.9534 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.6901, allocations: 189.5 kB / 0.9536 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.6905, allocations: 0.5957 MB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6905, allocations: 0 / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/0.6905, allocations: 1.312 kB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.6905, allocations: 0 / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007609/0.6913, allocations: 0.7405 MB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.6914, allocations: 10.41 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.6914, allocations: 54.77 kB / 0.9549 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.6915, allocations: 47.03 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.6925, allocations: 408.6 kB / 0.9554 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.6925, allocations: 24.34 kB / 0.9554 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.6926, allocations: 39.81 kB / 0.9554 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.693, allocations: 248.6 kB / 0.9557 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.693, allocations: 0 / 0.9557 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.693, allocations: 15.58 kB / 0.9557 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.693, allocations: 11.78 kB / 0.9557 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.6933, allocations: 158.8 kB / 0.9558 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.6943, allocations: 0.8531 MB / 0.9567 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.6946, allocations: 222.7 kB / 0.9569 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.6949, allocations: 209.4 kB / 0.9571 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.6949, allocations: 5.406 kB / 0.9571 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000285/0.6952, allocations: 245.2 kB / 0.9573 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.6952, allocations: 1.344 kB / 0.9573 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006452/0.6959, allocations: 432.9 kB / 0.9577 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.6959, allocations: 119.1 kB / 0.9579 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.6962, allocations: 331.4 kB / 0.9582 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.6962, allocations: 43.02 kB / 0.9582 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.6964, allocations: 177.8 kB / 0.9584 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.6964, allocations: 63.25 kB / 0.9584 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.6966, allocations: 140.7 kB / 0.9586 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.6967, allocations: 342.5 kB / 0.9589 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.6971, allocations: 209.4 kB / 0.9591 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.6975, allocations: 325.8 kB / 0.9594 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.698, allocations: 0.5303 MB / 0.9599 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6981, allocations: 1.125 kB / 0.9599 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001042/0.6991, allocations: 0.7352 MB / 0.9607 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.6992, allocations: 128.8 kB / 0.9608 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6992, allocations: 7.312 kB / 0.9608 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6992, allocations: 5.25 kB / 0.9608 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.6994, allocations: 58.03 kB / 0.9608 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.6994, allocations: 9.344 kB / 0.9609 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.7001, allocations: 128.1 kB / 0.961 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.7002, allocations: 65.48 kB / 0.961 GB, free: 308 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0001791/0.7004, allocations: 192.5 kB / 0.9612 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.7004, allocations: 38.62 kB / 0.9613 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.701, allocations: 362.6 kB / 0.9616 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.701, allocations: 3.719 kB / 0.9616 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.701, allocations: 0 / 0.9616 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.701, allocations: 7.391 kB / 0.9616 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009419/0.702, allocations: 0.7545 MB / 0.9624 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.702, allocations: 4 kB / 0.9624 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.7021, allocations: 36.23 kB / 0.9624 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.7022, allocations: 2.312 kB / 0.9624 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.7022, allocations: 6.344 kB / 0.9624 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7022, allocations: 9.078 kB / 0.9624 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7022, allocations: 3.938 kB / 0.9624 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.7027, allocations: 429.9 kB / 0.9628 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.7028, allocations: 109 kB / 0.9629 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.7029, allocations: 15.16 kB / 0.9629 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.703, allocations: 15.27 kB / 0.963 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.7031, allocations: 21.84 kB / 0.963 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.7031, allocations: 8.438 kB / 0.963 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002328/0.7033, allocations: 217 kB / 0.9632 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7033, allocations: 0 / 0.9632 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004308/0.7038, allocations: 86.41 kB / 0.9633 GB, free: 14.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008637/0.7046, allocations: 0.9979 MB / 0.9642 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009279/0.7056, allocations: 0.6671 MB / 0.9649 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7056, allocations: 192 / 0.9649 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.7058, allocations: 156.8 kB / 0.965 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.7064, allocations: 71.75 kB / 0.9651 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/0.7115, allocations: 3.891 MB / 0.9689 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.7119, allocations: 0.7836 MB / 0.9697 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.7121, allocations: 70.11 kB / 0.9697 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.7123, allocations: 116.4 kB / 0.9699 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of SimCode: time 3.697e-06/0.7123, allocations: 0 / 0.9699 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.7336, allocations: 8.001 MB / 0.9777 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.7338, allocations: 220 kB / 0.9779 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.647, allocations: 0 / 0.9779 GB, free: 3.883 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches