Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 179.3 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.902/1.902, allocations: 223.1 MB / 0.7948 GB, free: 18.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 108.2 kB / 0.9346 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.000361, allocations: 10.55 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2722, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.4533, allocations: 150.4 MB / 1.37 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4536, allocations: 71.97 kB / 1.37 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01221/0.4658, allocations: 3.853 MB / 1.374 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.31e-06/0.4659, allocations: 4 kB / 1.374 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.4659, allocations: 3.938 kB / 1.374 GB, free: 15 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005071/0.4664, allocations: 395.1 kB / 1.374 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.4664, allocations: 8.031 kB / 1.374 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.4665, allocations: 38.5 kB / 1.374 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.4669, allocations: 67.92 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.467, allocations: 163 kB / 1.374 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.467, allocations: 0 / 1.374 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.4671, allocations: 8 kB / 1.374 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.4674, allocations: 93.56 kB / 1.374 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4674, allocations: 4 kB / 1.374 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4674, allocations: 0 / 1.374 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4674, allocations: 7.984 kB / 1.374 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.4679, allocations: 107.9 kB / 1.374 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.4684, allocations: 300.7 kB / 1.375 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.4688, allocations: 114.5 kB / 1.375 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.4688, allocations: 0 / 1.375 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.4688, allocations: 34.62 kB / 1.375 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4688, allocations: 0 / 1.375 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0007462/0.4696, allocations: 209.6 kB / 1.375 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4696, allocations: 55.36 kB / 1.375 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.505e-05/0.4697, allocations: 100.9 kB / 1.375 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4697, allocations: 25.7 kB / 1.375 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.4698, allocations: 84.12 kB / 1.375 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.4698, allocations: 11.84 kB / 1.375 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.4698, allocations: 0 / 1.375 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.4699, allocations: 314.8 kB / 1.376 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.4701, allocations: 55.98 kB / 1.376 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.4704, allocations: 55.95 kB / 1.376 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.4706, allocations: 56.02 kB / 1.376 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4706, allocations: 0 / 1.376 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004355/0.471, allocations: 153.5 kB / 1.376 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.471, allocations: 8 kB / 1.376 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.471, allocations: 0 / 1.376 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4711, allocations: 0 / 1.376 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.4712, allocations: 32 kB / 1.376 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4712, allocations: 0 / 1.376 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.4714, allocations: 27.92 kB / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.4714, allocations: 0 / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.867e-05/0.4715, allocations: 109.8 kB / 1.376 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.4715, allocations: 11.89 kB / 1.376 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.4716, allocations: 7.125 kB / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4716, allocations: 0 / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4716, allocations: 0 / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4716, allocations: 3.984 kB / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.4718, allocations: 169.6 kB / 1.376 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4718, allocations: 0 / 1.376 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.4719, allocations: 31.97 kB / 1.376 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4719, allocations: 0 / 1.376 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.472, allocations: 4 kB / 1.376 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.472, allocations: 0 / 1.376 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.472, allocations: 3.938 kB / 1.376 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.4725, allocations: 247.3 kB / 1.377 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.4725, allocations: 77.11 kB / 1.377 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.4725, allocations: 7.984 kB / 1.377 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4727, allocations: 24.02 kB / 1.377 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.4727, allocations: 7.922 kB / 1.377 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.4727, allocations: 0 / 1.377 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.4728, allocations: 83.53 kB / 1.377 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4728, allocations: 0 / 1.377 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002278/0.473, allocations: 16 kB / 1.377 GB, free: 11.42 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008092/0.4738, allocations: 0.798 MB / 1.378 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.4743, allocations: 119.8 kB / 1.378 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4743, allocations: 0 / 1.378 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.4746, allocations: 60.02 kB / 1.378 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.4748, allocations: 13.77 kB / 1.378 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.4755, allocations: 202.5 kB / 1.378 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.4757, allocations: 0.677 MB / 1.379 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.535e-05/0.4758, allocations: 12 kB / 1.379 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.4759, allocations: 19.42 kB / 1.379 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.4759, allocations: 0 / 1.379 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.4876, allocations: 1.389 MB / 1.38 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.4878, allocations: 188.9 kB / 1.38 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.052, allocations: 0 / 1.38 GB, free: 7.926 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat