Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.431/2.431, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001324/0.001324, allocations: 178.7 kB / 498.1 MB, free: 5.734 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.806/1.806, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.001132/0.001132, allocations: 107.8 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 21.02 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2472, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.4376, allocations: 150 MB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.438, allocations: 83.89 kB / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01387/0.4519, allocations: 4.19 MB / 1.374 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/0.452, allocations: 0 / 1.374 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.452, allocations: 0 / 1.374 GB, free: 7.719 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005653/0.4525, allocations: 395.1 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.4526, allocations: 8.031 kB / 1.374 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.4527, allocations: 30.56 kB / 1.374 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.453, allocations: 59.84 kB / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.4533, allocations: 182.9 kB / 1.374 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4533, allocations: 7.938 kB / 1.374 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.4533, allocations: 0 / 1.374 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.4536, allocations: 81.64 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4537, allocations: 4 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4537, allocations: 7.984 kB / 1.374 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4537, allocations: 0 / 1.374 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.4541, allocations: 83.91 kB / 1.374 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.4543, allocations: 169.7 kB / 1.375 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.4549, allocations: 150.4 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.4549, allocations: 0 / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4549, allocations: 34.69 kB / 1.375 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.4549, allocations: 0 / 1.375 GB, free: 6.359 MB / 0.8698 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.005596/0.4605, allocations: 1.032 MB / 1.376 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.4606, allocations: 55.41 kB / 1.376 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4607, allocations: 105 kB / 1.376 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.4608, allocations: 25.7 kB / 1.376 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.4608, allocations: 88.12 kB / 1.376 GB, free: 5.027 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.4609, allocations: 35.55 kB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.4609, allocations: 0 / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.461, allocations: 326.8 kB / 1.376 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.4616, allocations: 123.9 kB / 1.376 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.462, allocations: 127.9 kB / 1.377 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.4625, allocations: 131.9 kB / 1.377 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4626, allocations: 0 / 1.377 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001044/0.4636, allocations: 313.4 kB / 1.377 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4636, allocations: 5.406 kB / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4636, allocations: 0 / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4637, allocations: 0 / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.4641, allocations: 79.84 kB / 1.377 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4641, allocations: 0 / 1.377 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.4645, allocations: 43.95 kB / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.4645, allocations: 8.297 kB / 1.377 GB, free: 3.844 MB / 0.8698 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 (9): * Single equations (assignments): 9 * 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 0.0001162/0.4646, allocations: 121.8 kB / 1.377 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.4647, allocations: 3.906 kB / 1.377 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.4647, allocations: 16.38 kB / 1.377 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4647, allocations: 3.938 kB / 1.377 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4647, allocations: 0 / 1.377 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4647, allocations: 3.984 kB / 1.377 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.4669, allocations: 0.6929 MB / 1.378 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4669, allocations: 0 / 1.378 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.4673, allocations: 72.67 kB / 1.378 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4673, allocations: 4 kB / 1.378 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.4673, allocations: 7.984 kB / 1.378 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4673, allocations: 7.953 kB / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4673, allocations: 0 / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.4684, allocations: 420.6 kB / 1.378 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.4685, allocations: 96.95 kB / 1.379 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.4685, allocations: 4 kB / 1.379 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.4688, allocations: 47.95 kB / 1.379 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.4689, allocations: 11.98 kB / 1.379 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.4689, allocations: 7.984 kB / 1.379 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.469, allocations: 91.27 kB / 1.379 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.469, allocations: 0 / 1.379 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003301/0.4693, allocations: 43.94 kB / 1.379 GB, free: 2.07 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.001578/0.4709, allocations: 1.112 MB / 1.38 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.472, allocations: 279.7 kB / 1.38 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.472, allocations: 0 / 1.38 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.4725, allocations: 135.9 kB / 1.38 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.4727, allocations: 8 kB / 1.38 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.4765, allocations: 1.229 MB / 1.381 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.4768, allocations: 0.6848 MB / 1.382 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.477, allocations: 33.03 kB / 1.382 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.4771, allocations: 31.39 kB / 1.382 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of SimCode: time 5.5e-06/0.4771, allocations: 0 / 1.382 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.4938, allocations: 2.649 MB / 1.385 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.4941, allocations: 194.3 kB / 1.385 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.223, allocations: 0 / 1.385 GB, free: 11.69 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat