Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.304/2.304, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00107/0.00107, allocations: 190.7 kB / 0.4902 GB, free: 2.238 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.761/1.761, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.001235/0.001235, allocations: 106.6 kB / 0.9396 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005311/0.0005312, allocations: 11.8 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3537, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/0.5633, allocations: 150.8 MB / 1.377 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5637, allocations: 83.95 kB / 1.377 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01377/0.5775, allocations: 4.204 MB / 1.381 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5775, allocations: 0 / 1.381 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.5775, allocations: 4 kB / 1.381 GB, free: 10.13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005397/0.5781, allocations: 391.1 kB / 1.381 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.5782, allocations: 8.562 kB / 1.381 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.5782, allocations: 38.5 kB / 1.381 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/0.5785, allocations: 63.84 kB / 1.381 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.5787, allocations: 171 kB / 1.381 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.5788, allocations: 4 kB / 1.381 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.5788, allocations: 0 / 1.381 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.5791, allocations: 81.64 kB / 1.381 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.5791, allocations: 4 kB / 1.381 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.5791, allocations: 0 / 1.381 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.5792, allocations: 0 / 1.381 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.5795, allocations: 83.92 kB / 1.382 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.5798, allocations: 181.5 kB / 1.382 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.5804, allocations: 138.5 kB / 1.382 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.5804, allocations: 3.984 kB / 1.382 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.5804, allocations: 38.69 kB / 1.382 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.5804, allocations: 0 / 1.382 GB, free: 8.781 MB / 0.8855 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.005461/0.5859, allocations: 1.028 MB / 1.383 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.586, allocations: 51.41 kB / 1.383 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.5861, allocations: 113 kB / 1.383 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.5861, allocations: 25.7 kB / 1.383 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.5862, allocations: 84.14 kB / 1.383 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.5862, allocations: 27.56 kB / 1.383 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.5863, allocations: 4 kB / 1.383 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5864, allocations: 322.8 kB / 1.383 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.5868, allocations: 131.9 kB / 1.384 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.5873, allocations: 123.9 kB / 1.384 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.5877, allocations: 135.8 kB / 1.384 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5877, allocations: 0 / 1.384 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001004/0.5888, allocations: 309.3 kB / 1.384 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5888, allocations: 4 kB / 1.384 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.5888, allocations: 0 / 1.384 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5888, allocations: 11.94 kB / 1.384 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.5892, allocations: 71.91 kB / 1.384 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5893, allocations: 0 / 1.384 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.5896, allocations: 43.95 kB / 1.384 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.5896, allocations: 8.734 kB / 1.384 GB, free: 6.266 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 (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.0001317/0.5898, allocations: 118.7 kB / 1.384 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.5898, allocations: 7.906 kB / 1.384 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.5899, allocations: 16.36 kB / 1.384 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5899, allocations: 0 / 1.384 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5899, allocations: 0 / 1.384 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5899, allocations: 0 / 1.384 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.592, allocations: 0.689 MB / 1.385 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.592, allocations: 8 kB / 1.385 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.5924, allocations: 75.92 kB / 1.385 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5924, allocations: 0 / 1.385 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.5924, allocations: 7.984 kB / 1.385 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5924, allocations: 3.953 kB / 1.385 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5924, allocations: 0 / 1.385 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5935, allocations: 432.5 kB / 1.386 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.5936, allocations: 92.97 kB / 1.386 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.5937, allocations: 0 / 1.386 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.594, allocations: 47.95 kB / 1.386 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.5941, allocations: 11.97 kB / 1.386 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.5941, allocations: 8 kB / 1.386 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.55e-05/0.5942, allocations: 95.2 kB / 1.386 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5942, allocations: 0 / 1.386 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003258/0.5945, allocations: 39.94 kB / 1.386 GB, free: 4.504 MB / 0.8855 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.001658/0.5962, allocations: 1.123 MB / 1.387 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009872/0.5972, allocations: 271.7 kB / 1.387 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5972, allocations: 0 / 1.387 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.5977, allocations: 135.9 kB / 1.387 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.5978, allocations: 8 kB / 1.387 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.6016, allocations: 1.218 MB / 1.389 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.602, allocations: 0.6887 MB / 1.389 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.6022, allocations: 29.05 kB / 1.389 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.6023, allocations: 35.33 kB / 1.389 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/0.6023, allocations: 0 / 1.389 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.6186, allocations: 2.67 MB / 1.392 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/0.619, allocations: 193.2 kB / 1.392 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.275, allocations: 0 / 1.392 GB, free: 14.14 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat