Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.873/2.873, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001299/0.001299, allocations: 183.5 kB / 0.4901 GB, free: 2.27 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.59/1.59, allocations: 223.1 MB / 0.7992 GB, free: 14.79 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.0009691/0.0009691, allocations: 95 kB / 0.9396 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003771, allocations: 11.06 kB / 1.09 GB, free: 216.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3958, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2873/0.6832, allocations: 150.8 MB / 1.377 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004453/0.6837, allocations: 75.95 kB / 1.377 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02103/0.7047, allocations: 4.142 MB / 1.381 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.216e-06/0.7048, allocations: 0 / 1.381 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.7048, allocations: 0 / 1.381 GB, free: 14.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007453/0.7056, allocations: 371.2 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.7057, allocations: 8.562 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.7057, allocations: 42.5 kB / 1.381 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005822/0.7063, allocations: 63.92 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.7065, allocations: 170.9 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.7066, allocations: 0 / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.7066, allocations: 0 / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.7071, allocations: 85.62 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.7071, allocations: 0 / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.7071, allocations: 4 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.7071, allocations: 4 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.7076, allocations: 79.92 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.708, allocations: 161.6 kB / 1.382 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.7089, allocations: 142.5 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-05/0.709, allocations: 11.94 kB / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.7091, allocations: 38.56 kB / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.7091, allocations: 0 / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.001883/0.711, allocations: 434.2 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.711, allocations: 51.41 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.7111, allocations: 92.98 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.7112, allocations: 25.7 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.7113, allocations: 84.27 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.7113, allocations: 19.75 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.7113, allocations: 0 / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.7115, allocations: 322.8 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.7118, allocations: 39.97 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.7121, allocations: 47.84 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.7123, allocations: 47.97 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7124, allocations: 0 / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005754/0.7129, allocations: 121.6 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.713, allocations: 4 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.713, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.713, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.7133, allocations: 27.98 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7133, allocations: 0 / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.7135, allocations: 23.97 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.7135, allocations: 0 / 1.383 GB, free: 11.92 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 (6): * Single equations (assignments): 6 * 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.000145/0.7136, allocations: 122.6 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.7137, allocations: 3.906 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007142/0.7144, allocations: 149.5 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7144, allocations: 0 / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.7144, allocations: 4 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.7145, allocations: 3.984 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.7147, allocations: 169.6 kB / 1.384 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7147, allocations: 320 / 1.384 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.715, allocations: 27.98 kB / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.715, allocations: 0 / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.715, allocations: 7.984 kB / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.715, allocations: 7.938 kB / 1.384 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7151, allocations: 3.938 kB / 1.384 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009777/0.716, allocations: 205 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.7162, allocations: 81.09 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.7162, allocations: 4.031 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.7163, allocations: 16.05 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.7164, allocations: 11.98 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.7164, allocations: 4 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.7164, allocations: 75.28 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7164, allocations: 0 / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003414/0.7168, allocations: 43.92 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.001129/0.7179, allocations: 0.7848 MB / 1.385 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.7183, allocations: 95.98 kB / 1.385 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7184, allocations: 3.938 kB / 1.385 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.7185, allocations: 55.89 kB / 1.385 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.7187, allocations: 4 kB / 1.385 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.7202, allocations: 0.5648 MB / 1.385 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.7205, allocations: 0.6848 MB / 1.386 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.7206, allocations: 16.06 kB / 1.386 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.7207, allocations: 15.44 kB / 1.386 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.7207, allocations: 4 kB / 1.386 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.7341, allocations: 1.796 MB / 1.388 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.7344, allocations: 200.8 kB / 1.388 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.32, allocations: 5.406 kB / 1.388 GB, free: 6.691 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat does not exist to compare? outputFormat=mat