Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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 1.974/1.974, allocations: 390.3 MB / 402.8 MB, free: 6.738 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.001023/0.001023, allocations: 168.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.001028/0.001028, allocations: 99.89 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.759e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.209, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7097/0.9188, allocations: 151.5 MB / 1.367 GB, free: 2.535 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.919, allocations: 83.36 kB / 1.367 GB, free: 2.488 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.9348, allocations: 5.516 MB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9349, allocations: 0 / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.9349, allocations: 0 / 1.372 GB, free: 13.79 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004986/0.9354, allocations: 396.3 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.9354, allocations: 12.03 kB / 1.373 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.9355, allocations: 37.73 kB / 1.373 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.9358, allocations: 75.84 kB / 1.373 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.9359, allocations: 167 kB / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.936, allocations: 7.375 kB / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.936, allocations: 7.25 kB / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.9362, allocations: 74.72 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.9362, allocations: 3.906 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.9362, allocations: 0 / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.9362, allocations: 4 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.9363, allocations: 43.61 kB / 1.373 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.9369, allocations: 347.2 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.937, allocations: 69.12 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.9371, allocations: 26.61 kB / 1.374 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.9371, allocations: 8 kB / 1.374 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.9372, allocations: 34.52 kB / 1.374 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.9372, allocations: 3.938 kB / 1.374 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.01249/0.9497, allocations: 2.098 MB / 1.376 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.9497, allocations: 59.41 kB / 1.376 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.9498, allocations: 96.23 kB / 1.376 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.9499, allocations: 28.64 kB / 1.376 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.9499, allocations: 88.05 kB / 1.376 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.95, allocations: 37.64 kB / 1.376 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.95, allocations: 3 kB / 1.376 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9502, allocations: 314.8 kB / 1.376 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.9504, allocations: 120.6 kB / 1.376 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.9506, allocations: 119.6 kB / 1.376 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.9509, allocations: 117.3 kB / 1.377 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.9509, allocations: 4 kB / 1.377 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006733/0.9516, allocations: 321.2 kB / 1.377 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9516, allocations: 4 kB / 1.377 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9516, allocations: 0 / 1.377 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.9516, allocations: 0 / 1.377 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.9525, allocations: 119.8 kB / 1.377 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.9525, allocations: 8.531 kB / 1.377 GB, free: 9.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.9531, allocations: 59.12 kB / 1.377 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.9531, allocations: 19.94 kB / 1.377 GB, free: 9.09 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 (13): * Single equations (assignments): 13 * 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.0001346/0.9533, allocations: 116.3 kB / 1.377 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.9533, allocations: 11.86 kB / 1.377 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.9534, allocations: 9.781 kB / 1.377 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.9534, allocations: 0 / 1.377 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9534, allocations: 0 / 1.377 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.9534, allocations: 3.984 kB / 1.377 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.9547, allocations: 0.8909 MB / 1.378 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9547, allocations: 3.938 kB / 1.378 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.9555, allocations: 123.2 kB / 1.378 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.9555, allocations: 4 kB / 1.378 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.9556, allocations: 23.94 kB / 1.378 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9556, allocations: 0 / 1.378 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9556, allocations: 0 / 1.378 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.9566, allocations: 0.5723 MB / 1.379 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.9567, allocations: 116.6 kB / 1.379 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.9568, allocations: 3.375 kB / 1.379 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.9574, allocations: 64 kB / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.9575, allocations: 31.95 kB / 1.379 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.9576, allocations: 35.23 kB / 1.379 GB, free: 7.211 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.9576, allocations: 79.28 kB / 1.379 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9576, allocations: 0 / 1.379 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000345/0.958, allocations: 59.69 kB / 1.379 GB, free: 7.078 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001304/0.9593, allocations: 1.112 MB / 1.38 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.9598, allocations: 275.1 kB / 1.38 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9599, allocations: 0 / 1.38 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.9601, allocations: 150.4 kB / 1.381 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.9603, allocations: 4.672 kB / 1.381 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.964, allocations: 0.7391 MB / 1.381 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.9642, allocations: 0.6965 MB / 1.382 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006279/0.9649, allocations: 92.61 kB / 1.382 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.9652, allocations: 65.23 kB / 1.382 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.9652, allocations: 4 kB / 1.382 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.9794, allocations: 4.138 MB / 1.386 GB, free: 208 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.9796, allocations: 188.7 kB / 1.386 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/2.393, allocations: 4 kB / 1.386 GB, free: 15.97 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat