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 2.484/2.484, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001428/0.001428, allocations: 186.9 kB / 0.4901 GB, free: 2.254 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.629/1.629, allocations: 223.1 MB / 0.7992 GB, free: 14.81 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.001079/0.001079, allocations: 100.1 kB / 0.9396 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.000453, allocations: 11.75 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3317, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.221/0.5528, allocations: 151.6 MB / 1.377 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/0.5532, allocations: 83.95 kB / 1.377 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02407/0.5773, allocations: 5.527 MB / 1.383 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.492e-05/0.5773, allocations: 0 / 1.383 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.5774, allocations: 7.938 kB / 1.383 GB, free: 12.5 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007982/0.5782, allocations: 415 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.5782, allocations: 8.031 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.654e-05/0.5784, allocations: 38.56 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005232/0.5789, allocations: 63.92 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.5791, allocations: 170.9 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.5792, allocations: 4 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.5792, allocations: 12 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.5798, allocations: 117.6 kB / 1.384 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.5798, allocations: 0 / 1.384 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.5798, allocations: 15.92 kB / 1.384 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.5799, allocations: 7.938 kB / 1.384 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.5806, allocations: 115.9 kB / 1.384 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000834/0.5814, allocations: 344.6 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008811/0.5823, allocations: 182.4 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.5824, allocations: 0 / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.5824, allocations: 46.5 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.5824, allocations: 0 / 1.384 GB, free: 10.82 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=11): time 0.02385/0.6063, allocations: 3.18 MB / 1.387 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.6065, allocations: 51.41 kB / 1.387 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.6066, allocations: 96.94 kB / 1.388 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.6066, allocations: 25.7 kB / 1.388 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.6067, allocations: 96.03 kB / 1.388 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.6068, allocations: 39.44 kB / 1.388 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.6069, allocations: 7.938 kB / 1.388 GB, free: 7.207 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.607, allocations: 310.8 kB / 1.388 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.6077, allocations: 219.8 kB / 1.388 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/0.6084, allocations: 215.8 kB / 1.388 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006861/0.6091, allocations: 215.8 kB / 1.389 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6091, allocations: 3.984 kB / 1.389 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001604/0.6107, allocations: 0.5236 MB / 1.389 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6107, allocations: 4 kB / 1.389 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.6107, allocations: 0 / 1.389 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.6108, allocations: 8 kB / 1.389 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/0.6117, allocations: 123.7 kB / 1.389 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.6118, allocations: 0 / 1.389 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/0.6125, allocations: 55.94 kB / 1.389 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/0.6125, allocations: 27.94 kB / 1.389 GB, free: 5.512 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 (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.0001881/0.6127, allocations: 119.4 kB / 1.389 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.6128, allocations: 11.89 kB / 1.389 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.6129, allocations: 7.969 kB / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6129, allocations: 0 / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6129, allocations: 0 / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6129, allocations: 4 kB / 1.389 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.6154, allocations: 1.109 MB / 1.391 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6154, allocations: 7.984 kB / 1.391 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009366/0.6163, allocations: 115.8 kB / 1.391 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.6163, allocations: 0 / 1.391 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.6164, allocations: 23.92 kB / 1.391 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.6164, allocations: 4 kB / 1.391 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.6164, allocations: 0 / 1.391 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.6188, allocations: 0.8698 MB / 1.392 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.619, allocations: 113 kB / 1.392 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.6191, allocations: 4 kB / 1.392 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/0.6198, allocations: 63.98 kB / 1.392 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.62, allocations: 27.92 kB / 1.392 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.62, allocations: 23.94 kB / 1.392 GB, free: 2.855 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.6201, allocations: 83.28 kB / 1.392 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6201, allocations: 0 / 1.392 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004296/0.6205, allocations: 63.92 kB / 1.392 GB, free: 2.711 MB / 0.8855 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 () * Number of clocked 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.00278/0.6233, allocations: 1.431 MB / 1.393 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.6248, allocations: 471.6 kB / 1.394 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6249, allocations: 0 / 1.394 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007135/0.6256, allocations: 251.7 kB / 1.394 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.6259, allocations: 8 kB / 1.394 GB, free: 0.5391 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.6332, allocations: 1.855 MB / 1.396 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.6335, allocations: 0.6965 MB / 1.396 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006837/0.6342, allocations: 92.66 kB / 1.397 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.6345, allocations: 63.3 kB / 1.397 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of SimCode: time 9.32e-07/0.6346, allocations: 3.938 kB / 1.397 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.6537, allocations: 4.15 MB / 1.401 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/0.6541, allocations: 204.8 kB / 1.401 GB, free: 9.527 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.408, allocations: 0.75 kB / 1.401 GB, free: 9.527 MB / 0.9011 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