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.218/2.218, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001123/0.001123, allocations: 176.8 kB / 487.4 MB, free: 5.031 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.496/1.496, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 103.8 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.276e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.29, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9275/1.218, allocations: 149.2 MB / 1.352 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.218, allocations: 82.27 kB / 1.352 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01341/1.231, allocations: 4.166 MB / 1.356 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/1.231, allocations: 0 / 1.356 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.927e-06/1.231, allocations: 3.938 kB / 1.356 GB, free: 33.64 MB / 0.8386 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.0003939/1.232, allocations: 374.8 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.232, allocations: 7.844 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/1.232, allocations: 65.84 kB / 1.356 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.232, allocations: 172.7 kB / 1.357 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.232, allocations: 0 / 1.357 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/1.232, allocations: 3.812 kB / 1.357 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.507e-05/1.232, allocations: 22.86 kB / 1.357 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/1.232, allocations: 46.92 kB / 1.357 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.232, allocations: 0 / 1.357 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.232, allocations: 0.7969 kB / 1.357 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.233, allocations: 0 / 1.357 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/1.233, allocations: 155.6 kB / 1.357 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/1.233, allocations: 55 kB / 1.357 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/1.233, allocations: 16.55 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/1.233, allocations: 0 / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/1.233, allocations: 31.59 kB / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/1.233, allocations: 0 / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.002486/1.235, allocations: 479.9 kB / 1.357 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/1.235, allocations: 51.41 kB / 1.357 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.235, allocations: 108.7 kB / 1.357 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/1.236, allocations: 25.7 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/1.236, allocations: 84.78 kB / 1.358 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/1.236, allocations: 34.14 kB / 1.358 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/1.236, allocations: 3.938 kB / 1.358 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.236, allocations: 320.7 kB / 1.358 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/1.236, allocations: 36.69 kB / 1.358 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/1.236, allocations: 40.22 kB / 1.358 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/1.236, allocations: 52.94 kB / 1.358 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/1.236, allocations: 0 / 1.358 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003135/1.236, allocations: 149.9 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.236, allocations: 3.844 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.236, allocations: 4 kB / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.236, allocations: 0 / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/1.237, allocations: 77.42 kB / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.237, allocations: 0 / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/1.237, allocations: 44.33 kB / 1.358 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/1.237, allocations: 10.06 kB / 1.358 GB, free: 32.02 MB / 0.8386 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 () * 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.0001023/1.237, allocations: 104.9 kB / 1.358 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002745/1.238, allocations: 145.2 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/1.238, allocations: 11.25 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/1.238, allocations: 8.25 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.238, allocations: 3.969 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.238, allocations: 0 / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/1.238, allocations: 4 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/1.239, allocations: 0.5052 MB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.239, allocations: 6.703 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/1.239, allocations: 67.73 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.239, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.239, allocations: 9.984 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.239, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.239, allocations: 7.797 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/1.24, allocations: 260.3 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/1.24, allocations: 88.81 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/1.24, allocations: 3.328 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/1.24, allocations: 45.78 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/1.24, allocations: 13.33 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/1.24, allocations: 10.59 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.636e-05/1.24, allocations: 92.41 kB / 1.36 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.24, allocations: 0 / 1.36 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002997/1.24, allocations: 42.88 kB / 1.36 GB, free: 31.16 MB / 0.8386 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 () * 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.0007574/1.241, allocations: 0.9534 MB / 1.361 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001999/1.241, allocations: 87.92 kB / 1.361 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.241, allocations: 0 / 1.361 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/1.241, allocations: 51.44 kB / 1.361 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/1.242, allocations: 1.031 kB / 1.361 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/1.243, allocations: 390.1 kB / 1.361 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/1.243, allocations: 0.689 MB / 1.362 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001409/1.243, allocations: 30.81 kB / 1.362 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/1.244, allocations: 34.41 kB / 1.362 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.244, allocations: 0 / 1.362 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/1.265, allocations: 2.27 MB / 1.364 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.265, allocations: 151.1 kB / 1.364 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/2.723, allocations: 2.391 kB / 1.364 GB, free: 29.1 MB / 0.8386 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