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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.00167, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.659/2.659, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.002/5.002, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008664/0.0008668, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426/1.427, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00115/1.428, allocations: 329.6 kB / 0.9812 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00284/1.431, allocations: 1.387 MB / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/1.431, allocations: 0 / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/1.431, allocations: 3.938 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/1.431, allocations: 0 / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/1.432, allocations: 110.3 kB / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.632e-05/1.432, allocations: 27.95 kB / 0.9827 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.441e-05/1.432, allocations: 3.984 kB / 0.9827 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/1.432, allocations: 15.94 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/1.432, allocations: 27.95 kB / 0.9827 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/1.432, allocations: 0 / 0.9827 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007131/1.433, allocations: 315.4 kB / 0.983 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/1.433, allocations: 3.984 kB / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/1.433, allocations: 25.7 kB / 0.9831 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/1.434, allocations: 135.9 kB / 0.9832 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.434, allocations: 0 / 0.9832 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.166e-06/1.434, allocations: 0 / 0.9832 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.129e-06/1.434, allocations: 4 kB / 0.9832 GB, free: 3.902 MB / 0.7325 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.0007154/1.434, allocations: 365.5 kB / 0.9835 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.434, allocations: 8.031 kB / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/1.435, allocations: 30.56 kB / 0.9836 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006974/1.435, allocations: 79.91 kB / 0.9837 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/1.435, allocations: 167.1 kB / 0.9838 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/1.435, allocations: 4 kB / 0.9838 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/1.436, allocations: 0 / 0.9838 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/1.436, allocations: 85.52 kB / 0.9839 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.436, allocations: 8 kB / 0.9839 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/1.436, allocations: 0 / 0.9839 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/1.436, allocations: 0 / 0.9839 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/1.436, allocations: 71.94 kB / 0.984 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/1.437, allocations: 169.6 kB / 0.9841 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/1.438, allocations: 146.5 kB / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/1.438, allocations: 173.1 kB / 0.9844 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/1.439, allocations: 30.56 kB / 0.9845 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 4.659e-06/1.439, allocations: 0 / 0.9845 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.001771/1.44, allocations: 450.2 kB / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/1.44, allocations: 55.41 kB / 0.985 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/1.441, allocations: 101.8 kB / 0.9851 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/1.441, allocations: 25.7 kB / 0.9851 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/1.441, allocations: 80.14 kB / 0.9852 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/1.441, allocations: 19.72 kB / 0.9852 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/1.441, allocations: 0 / 0.9852 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.441, allocations: 318.8 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/1.441, allocations: 44.09 kB / 0.9855 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/1.441, allocations: 39.97 kB / 0.9856 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/1.442, allocations: 43.91 kB / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/1.442, allocations: 0 / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005783/1.442, allocations: 133.6 kB / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.442, allocations: 4 kB / 0.9857 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.442, allocations: 0 / 0.9857 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.442, allocations: 7.953 kB / 0.9857 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/1.443, allocations: 23.97 kB / 0.9858 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.443, allocations: 4 kB / 0.9858 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/1.443, allocations: 15.98 kB / 0.9858 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/1.443, allocations: 8 kB / 0.9858 GB, free: 0.9609 MB / 0.7325 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.0001323/1.443, allocations: 105.8 kB / 0.9859 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/1.443, allocations: 4.25 kB / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007039/1.444, allocations: 153.1 kB / 0.986 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.444, allocations: 3.953 kB / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.444, allocations: 0 / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.444, allocations: 0 / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/1.444, allocations: 169.6 kB / 0.9862 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.444, allocations: 8 kB / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/1.444, allocations: 19.98 kB / 0.9862 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/1.444, allocations: 7.984 kB / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/1.444, allocations: 0 / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.444, allocations: 0 / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.444, allocations: 7.938 kB / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008529/1.445, allocations: 208.9 kB / 0.9864 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/1.445, allocations: 89.06 kB / 0.9865 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/1.445, allocations: 4.062 kB / 0.9865 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/1.445, allocations: 15.98 kB / 0.9865 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/1.445, allocations: 15.94 kB / 0.9866 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/1.445, allocations: 0 / 0.9866 GB, free: 68 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.83e-05/1.446, allocations: 79.28 kB / 0.9866 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.446, allocations: 0 / 0.9866 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004207/1.446, allocations: 36.02 kB / 0.9867 GB, free: 15.95 MB / 0.7481 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.00144/1.447, allocations: 0.7646 MB / 0.9874 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000582/1.448, allocations: 99.98 kB / 0.9875 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/1.448, allocations: 0 / 0.9875 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/1.448, allocations: 51.95 kB / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/1.449, allocations: 7.938 kB / 0.9876 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/1.451, allocations: 0.5574 MB / 0.9881 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/1.451, allocations: 0.6888 MB / 0.9888 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000176/1.451, allocations: 12 kB / 0.9888 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/1.451, allocations: 19.38 kB / 0.9888 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of SimCode: time 1.202e-06/1.451, allocations: 0 / 0.9888 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/1.475, allocations: 1.812 MB / 0.9906 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/1.475, allocations: 202.1 kB / 0.9908 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/4.304, allocations: 0 / 0.9908 GB, free: 11.77 MB / 0.7481 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) Environment - environmentSimulation: 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