Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",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.0009171/0.0009208, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009396/0.0009396, allocations: 177.3 kB / 15.94 MB, free: 228 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.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.615/2.615, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.000407, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7026, allocations: 142.3 MB / 0.9536 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.03752/0.7401, allocations: 33.91 MB / 0.9867 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.7571, allocations: 10.7 MB / 0.9972 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.7598, allocations: 51.62 kB / 0.9972 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.7627, allocations: 0.6219 MB / 0.9978 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007329/0.77, allocations: 1.993 MB / 0.9998 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.7748, allocations: 1.481 MB / 1.001 GB, free: 15.37 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.0044/0.7792, allocations: 2.085 MB / 1.003 GB, free: 13.29 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.781, allocations: 0.8704 MB / 1.004 GB, free: 12.39 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.7832, allocations: 0.9341 MB / 1.005 GB, free: 11.46 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.7845, allocations: 0.6533 MB / 1.006 GB, free: 10.8 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.7848, allocations: 52 kB / 1.006 GB, free: 10.75 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.7876, allocations: 1.1 MB / 1.007 GB, free: 9.648 MB / 0.7638 GB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.7879, allocations: 215.1 kB / 1.007 GB, free: 9.438 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 0.0005047/0.7884, allocations: 301 kB / 1.007 GB, free: 9.137 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.7908, allocations: 1.866 MB / 1.009 GB, free: 7.266 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.7908, allocations: 0 / 1.009 GB, free: 7.266 MB / 0.7638 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7909, allocations: 0 / 1.009 GB, free: 7.266 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.7909, allocations: 4 kB / 1.009 GB, free: 7.262 MB / 0.7638 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002399/0.7933, allocations: 1.487 MB / 1.011 GB, free: 5.719 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7933, allocations: 8.031 kB / 1.011 GB, free: 5.711 MB / 0.7638 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.7935, allocations: 135.2 kB / 1.011 GB, free: 5.57 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.7938, allocations: 150.3 kB / 1.011 GB, free: 5.422 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.7955, allocations: 1.057 MB / 1.012 GB, free: 4.324 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.7955, allocations: 66 kB / 1.012 GB, free: 4.258 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.7956, allocations: 91.98 kB / 1.012 GB, free: 4.168 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.797, allocations: 0.8972 MB / 1.013 GB, free: 3.238 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.7971, allocations: 0 / 1.013 GB, free: 3.238 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.7972, allocations: 39.92 kB / 1.013 GB, free: 3.199 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.7972, allocations: 31.94 kB / 1.013 GB, free: 3.168 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.7982, allocations: 0.6402 MB / 1.014 GB, free: 2.527 MB / 0.7638 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004705/0.8029, allocations: 4.316 MB / 1.018 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.8038, allocations: 0.5012 MB / 1.018 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006302/0.8045, allocations: 0.6065 MB / 1.019 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.8045, allocations: 39.12 kB / 1.019 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=57): time 2.325e-06/0.8045, allocations: 0 / 1.019 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57): time 0.002352/0.8069, allocations: 1.23 MB / 1.02 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.8069, allocations: 63.97 kB / 1.02 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.808, allocations: 0.9189 MB / 1.021 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.8081, allocations: 41.7 kB / 1.021 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/0.8085, allocations: 0.519 MB / 1.022 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.8087, allocations: 201 kB / 1.022 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.8087, allocations: 16 kB / 1.022 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.8088, allocations: 337.9 kB / 1.022 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.8092, allocations: 197.9 kB / 1.022 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.8096, allocations: 397.8 kB / 1.023 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.81, allocations: 263.1 kB / 1.023 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.81, allocations: 4 kB / 1.023 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001449/0.8115, allocations: 0.8428 MB / 1.024 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005464/0.812, allocations: 1.31 MB / 1.025 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.8121, allocations: 4 kB / 1.025 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.8127, allocations: 163.3 kB / 1.025 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.8132, allocations: 147.7 kB / 1.025 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.817, allocations: 4.97 MB / 1.03 GB, free: 272 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.8179, allocations: 123.3 kB / 1.03 GB, free: 148 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.818, allocations: 31.94 kB / 1.03 GB, free: 116 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.818, allocations: 4.938 kB / 1.03 GB, free: 112 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/0.8192, allocations: 0.7135 MB / 1.031 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.8193, allocations: 4 kB / 1.031 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/0.8196, allocations: 131.8 kB / 1.031 GB, free: 15.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.82, allocations: 139.8 kB / 1.031 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.8246, allocations: 5.993 MB / 1.037 GB, free: 8.562 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.8256, allocations: 115.2 kB / 1.037 GB, free: 8.449 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.8257, allocations: 31.98 kB / 1.037 GB, free: 8.418 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (78): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006122/0.8263, allocations: 376.8 kB / 1.038 GB, free: 8.039 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.8265, allocations: 98.78 kB / 1.038 GB, free: 7.941 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.8277, allocations: 0.7123 MB / 1.038 GB, free: 7.219 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.8278, allocations: 4 kB / 1.038 GB, free: 7.215 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8278, allocations: 4 kB / 1.038 GB, free: 7.211 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009271/0.8287, allocations: 0.6533 MB / 1.039 GB, free: 6.516 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.8315, allocations: 1.836 MB / 1.041 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8315, allocations: 4 kB / 1.041 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.8319, allocations: 87.89 kB / 1.041 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003127/0.8322, allocations: 123.6 kB / 1.041 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.8323, allocations: 19.98 kB / 1.041 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003741/0.836, allocations: 4.967 MB / 1.046 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.836, allocations: 4.078 kB / 1.046 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.8378, allocations: 1.073 MB / 1.047 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/0.8385, allocations: 283.6 kB / 1.047 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.8387, allocations: 12 kB / 1.047 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007511/0.8395, allocations: 76.11 kB / 1.047 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.8396, allocations: 45.03 kB / 1.047 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.8396, allocations: 23.98 kB / 1.047 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001063/0.8407, allocations: 0.6297 MB / 1.048 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8407, allocations: 0 / 1.048 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002656/0.8434, allocations: 0.7249 MB / 1.049 GB, free: 12 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002886/0.8463, allocations: 2.253 MB / 1.051 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00281/0.8491, allocations: 1.788 MB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.8491, allocations: 4 kB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.8499, allocations: 0.6206 MB / 1.053 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.8527, allocations: 0.5264 MB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.8582, allocations: 5.2 MB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.8588, allocations: 1.112 MB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008854/0.8597, allocations: 220.6 kB / 1.06 GB, free: 15.94 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/0.8603, allocations: 423.3 kB / 1.061 GB, free: 15.52 MB / 0.8263 GB Notification: Performance of SimCode: time 6.32e-07/0.8603, allocations: 0 / 1.061 GB, free: 15.52 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/0.9184, allocations: 33.11 MB / 1.093 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.9186, allocations: 279.4 kB / 1.093 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.494, allocations: 0 / 1.093 GB, free: 14.58 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat does not exist to compare? outputFormat=mat