Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001043/0.001042, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437.7 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004032, allocations: 8 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8656/0.866, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.005941/0.872, allocations: 3.89 MB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004001/0.876, allocations: 2.039 MB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.8766, allocations: 11.94 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.877, allocations: 59.38 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.8781, allocations: 270.5 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.8792, allocations: 290.9 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.8805, allocations: 0.8409 MB / 1.03 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.8819, allocations: 0.7261 MB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005685/0.8825, allocations: 231 kB / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007583/0.8833, allocations: 310.7 kB / 1.031 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.8834, allocations: 28 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.884, allocations: 191.7 kB / 1.031 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.8842, allocations: 147.5 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.8844, allocations: 129.4 kB / 1.031 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008139/0.8852, allocations: 0.75 MB / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8852, allocations: 0 / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8852, allocations: 0 / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8852, allocations: 0 / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001481/0.8867, allocations: 0.8518 MB / 1.033 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.8868, allocations: 8.031 kB / 1.033 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.8874, allocations: 131.2 kB / 1.033 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.888, allocations: 441.8 kB / 1.033 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.888, allocations: 36.95 kB / 1.033 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.8881, allocations: 51.98 kB / 1.034 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.8893, allocations: 0.6887 MB / 1.034 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.8893, allocations: 7.938 kB / 1.034 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/0.8894, allocations: 23.98 kB / 1.034 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.346e-05/0.8895, allocations: 48.97 kB / 1.034 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.8905, allocations: 0.5699 MB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.8942, allocations: 2.92 MB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.8953, allocations: 0.5577 MB / 1.038 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.8957, allocations: 261.3 kB / 1.038 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.8963, allocations: 0.5701 MB / 1.039 GB, free: 14.43 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008213/0.8971, allocations: 404.2 kB / 1.039 GB, free: 14.01 MB / 0.795 GB Notification: Performance of pre-optimization done (n=46): time 1.903e-06/0.8971, allocations: 0 / 1.039 GB, free: 14.01 MB / 0.795 GB Notification: Performance of matching and sorting (n=46): time 0.001559/0.8987, allocations: 0.7394 MB / 1.04 GB, free: 13.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.8988, allocations: 93.03 kB / 1.04 GB, free: 13.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.8992, allocations: 361.5 kB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.8993, allocations: 49.81 kB / 1.041 GB, free: 12.74 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.8995, allocations: 284.5 kB / 1.041 GB, free: 12.46 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.8997, allocations: 149.9 kB / 1.041 GB, free: 12.31 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.8997, allocations: 8 kB / 1.041 GB, free: 12.3 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8999, allocations: 358.8 kB / 1.041 GB, free: 11.94 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.9003, allocations: 233 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.901, allocations: 358.7 kB / 1.042 GB, free: 11.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.9015, allocations: 285.7 kB / 1.042 GB, free: 11.04 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.9015, allocations: 4 kB / 1.042 GB, free: 11.03 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001351/0.9029, allocations: 0.6833 MB / 1.043 GB, free: 10.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.903, allocations: 197.2 kB / 1.043 GB, free: 10.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.903, allocations: 4 kB / 1.043 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.9031, allocations: 11.94 kB / 1.043 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.9035, allocations: 111.8 kB / 1.043 GB, free: 9.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.9036, allocations: 7.938 kB / 1.043 GB, free: 9.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.904, allocations: 79.64 kB / 1.043 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.9041, allocations: 19.94 kB / 1.043 GB, free: 9.867 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.022e-06/0.9041, allocations: 7.984 kB / 1.043 GB, free: 9.859 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001056/0.9051, allocations: 0.5756 MB / 1.044 GB, free: 9.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.9051, allocations: 0 / 1.044 GB, free: 9.277 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.9052, allocations: 8 kB / 1.044 GB, free: 9.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.9056, allocations: 103.8 kB / 1.044 GB, free: 9.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.9057, allocations: 11.98 kB / 1.044 GB, free: 9.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.906, allocations: 71.67 kB / 1.044 GB, free: 9.086 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.906, allocations: 20 kB / 1.044 GB, free: 9.066 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition2,$PRE.bat_ideal.cha.underCharged,bat_ideal.cha.underCharged,$PRE.bat_ideal.cha.overCharged,bat_ideal.cha.overCharged,$whenCondition3,$PRE.bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.underCharged,$PRE.bat_loss_acdc.cha.overCharged,bat_loss_acdc.cha.overCharged,$whenCondition4,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,$whenCondition1,$PRE.pow.T_start,pow.T_start,$PRE.pow.count,pow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004083/0.9065, allocations: 299.2 kB / 1.044 GB, free: 8.762 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.9065, allocations: 47.44 kB / 1.044 GB, free: 8.715 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.9076, allocations: 0.5919 MB / 1.045 GB, free: 8.117 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.9077, allocations: 7.953 kB / 1.045 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9077, allocations: 0 / 1.045 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9077, allocations: 0 / 1.045 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009695/0.9087, allocations: 0.6297 MB / 1.046 GB, free: 7.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.9087, allocations: 0 / 1.046 GB, free: 7.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.9092, allocations: 99.88 kB / 1.046 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.9092, allocations: 7.984 kB / 1.046 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.9092, allocations: 12 kB / 1.046 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.9092, allocations: 4.188 kB / 1.046 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9093, allocations: 7.953 kB / 1.046 GB, free: 7.301 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.9108, allocations: 0.8939 MB / 1.047 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.911, allocations: 176.5 kB / 1.047 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.9111, allocations: 12 kB / 1.047 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.9114, allocations: 35.95 kB / 1.047 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.9115, allocations: 55.88 kB / 1.047 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.9115, allocations: 19.98 kB / 1.047 GB, free: 6.07 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002774/0.9118, allocations: 251.2 kB / 1.047 GB, free: 5.824 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9118, allocations: 0 / 1.047 GB, free: 5.824 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007316/0.9126, allocations: 271.1 kB / 1.047 GB, free: 5.559 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bat_ideal.cha.SOC,bat_loss_acdc.cha.SOC,bat.cha.SOC) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,pow.T_start,pow.count,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Number of discrete states: 7 (pow.count,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002239/0.9128, allocations: 131.9 kB / 1.048 GB, free: 5.422 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.9145, allocations: 0.9742 MB / 1.048 GB, free: 4.426 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9145, allocations: 4 kB / 1.048 GB, free: 4.422 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.915, allocations: 272.1 kB / 1.049 GB, free: 4.156 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.9158, allocations: 165.8 kB / 1.049 GB, free: 3.996 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.9181, allocations: 1.277 MB / 1.05 GB, free: 2.691 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007895/0.9189, allocations: 0.8951 MB / 1.051 GB, free: 1.77 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005123/0.9195, allocations: 140.4 kB / 1.051 GB, free: 1.629 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.9196, allocations: 47.42 kB / 1.051 GB, free: 1.582 MB / 0.795 GB Notification: Performance of SimCode: time 1.092e-06/0.9197, allocations: 0 / 1.051 GB, free: 1.582 MB / 0.795 GB Notification: Performance of Templates: time 0.01459/0.9342, allocations: 7.654 MB / 1.059 GB, free: 10.03 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches