Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",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.0008964/0.0008962, allocations: 99.55 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.001482/0.001482, 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.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.473/2.473, allocations: 390.3 MB / 0.6653 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7546, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001158/0.7558, allocations: 0.8217 MB / 0.9544 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.7579, allocations: 1.892 MB / 0.9563 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.7581, allocations: 6.219 kB / 0.9563 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.7581, allocations: 11.86 kB / 0.9563 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.7583, allocations: 92.8 kB / 0.9564 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.7609, allocations: 1.28 MB / 0.9576 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006899/0.7616, allocations: 0.5782 MB / 0.9582 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.334e-05/0.7616, allocations: 25.39 kB / 0.9582 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.762, allocations: 415.4 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.7624, allocations: 330.2 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.7625, allocations: 60.28 kB / 0.959 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.7627, allocations: 76.48 kB / 0.959 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.7628, allocations: 53.5 kB / 0.9591 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.763, allocations: 124.4 kB / 0.9592 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.7635, allocations: 0.6636 MB / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7635, allocations: 0 / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7635, allocations: 0 / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.7635, allocations: 0 / 0.9599 GB, free: 3.656 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007641/0.7643, allocations: 0.9999 MB / 0.9608 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7643, allocations: 9.062 kB / 0.9608 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.7644, allocations: 46.69 kB / 0.9609 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.7645, allocations: 63.38 kB / 0.961 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.7647, allocations: 221.2 kB / 0.9612 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.7647, allocations: 36.8 kB / 0.9612 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.7649, allocations: 66.36 kB / 0.9613 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.7652, allocations: 214.8 kB / 0.9615 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7652, allocations: 1.031 kB / 0.9615 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.7652, allocations: 11.95 kB / 0.9615 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.7652, allocations: 5.984 kB / 0.9615 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.7653, allocations: 71.22 kB / 0.9616 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.7661, allocations: 0.8387 MB / 0.9624 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.7663, allocations: 317.9 kB / 0.9627 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.7663, allocations: 16.48 kB / 0.9627 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.7669, allocations: 459.2 kB / 0.9631 GB, free: 484 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 1.734e-06/0.7669, allocations: 0 / 0.9631 GB, free: 484 kB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.0009519/0.7678, allocations: 0.5612 MB / 0.9637 GB, free: 220 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002077/0.7681, allocations: 441 kB / 0.9641 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.7684, allocations: 299.9 kB / 0.9644 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.7685, allocations: 69.66 kB / 0.9645 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.7687, allocations: 165.4 kB / 0.9646 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.7688, allocations: 90.52 kB / 0.9647 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.7689, allocations: 32.53 kB / 0.9647 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7691, allocations: 355.6 kB / 0.9651 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007698/0.7698, allocations: 416 kB / 0.9655 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.7709, allocations: 0.7019 MB / 0.9661 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.7719, allocations: 0.8172 MB / 0.9669 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.7719, allocations: 3.406 kB / 0.9669 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002903/0.7749, allocations: 1.717 MB / 0.9686 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003222/0.7752, allocations: 481.3 kB / 0.9691 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.7752, allocations: 10.19 kB / 0.9691 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.7752, allocations: 15.28 kB / 0.9691 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.7753, allocations: 31.42 kB / 0.9691 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.7754, allocations: 21.34 kB / 0.9692 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.778, allocations: 0.5707 MB / 0.9697 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.7782, allocations: 95.7 kB / 0.9698 GB, free: 11.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003781/0.7786, allocations: 218 kB / 0.97 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.7788, allocations: 47.52 kB / 0.9701 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.55e-05/0.7789, allocations: 37.05 kB / 0.9701 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.7789, allocations: 8.5 kB / 0.9701 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.7789, allocations: 4.531 kB / 0.9701 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.7789, allocations: 12.64 kB / 0.9701 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.7793, allocations: 339.2 kB / 0.9704 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7794, allocations: 2.562 kB / 0.9704 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.7794, allocations: 22.92 kB / 0.9705 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.7794, allocations: 6.062 kB / 0.9705 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.7795, allocations: 18.33 kB / 0.9705 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.7795, allocations: 8.312 kB / 0.9705 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7795, allocations: 4.125 kB / 0.9705 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.7803, allocations: 0.6754 MB / 0.9712 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.7804, allocations: 118.4 kB / 0.9713 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.7805, allocations: 15.11 kB / 0.9713 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.7806, allocations: 22.44 kB / 0.9713 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.7807, allocations: 60.47 kB / 0.9714 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.7808, allocations: 27.58 kB / 0.9714 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001825/0.7809, allocations: 185.5 kB / 0.9716 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.781, allocations: 3.938 kB / 0.9716 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00104/0.782, allocations: 203.7 kB / 0.9718 GB, free: 10 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.001571/0.7836, allocations: 2.209 MB / 0.9739 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002339/0.7859, allocations: 1.748 MB / 0.9756 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7859, allocations: 5.188 kB / 0.9756 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.7862, allocations: 175.7 kB / 0.9758 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.7869, allocations: 109.3 kB / 0.9759 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.7923, allocations: 7.841 MB / 0.9836 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.7929, allocations: 0.7812 MB / 0.9843 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002608/0.7932, allocations: 42.94 kB / 0.9844 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.7934, allocations: 110 kB / 0.9845 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of SimCode: time 1.282e-06/0.7934, allocations: 4.688 kB / 0.9845 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.8307, allocations: 13.62 MB / 0.9978 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.831, allocations: 192.4 kB / 0.998 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.86, allocations: 0 / 0.998 GB, free: 1.09 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat