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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 99.86 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.001979/0.001979, 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.709/2.709, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.621/4.621, allocations: 409.2 MB / 0.6838 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000869/0.0008692, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688/1.689, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001526/1.69, allocations: 0.4946 MB / 0.9814 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002272/1.692, allocations: 1.407 MB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/1.692, allocations: 4 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/1.693, allocations: 7.938 kB / 0.9828 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/1.693, allocations: 0 / 0.9828 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/1.693, allocations: 107.7 kB / 0.9829 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.148e-05/1.693, allocations: 31.97 kB / 0.9829 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/1.693, allocations: 8 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/1.694, allocations: 23.91 kB / 0.9829 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/1.694, allocations: 35.89 kB / 0.983 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/1.694, allocations: 4 kB / 0.983 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/1.694, allocations: 307.5 kB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/1.694, allocations: 11.98 kB / 0.9833 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/1.694, allocations: 33.64 kB / 0.9833 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/1.695, allocations: 158 kB / 0.9834 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.695, allocations: 0 / 0.9834 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.705e-06/1.695, allocations: 0 / 0.9834 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.679e-06/1.695, allocations: 0 / 0.9834 GB, free: 3.656 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009235/1.696, allocations: 395.2 kB / 0.9838 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/1.696, allocations: 8.031 kB / 0.9838 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/1.696, allocations: 34.56 kB / 0.9839 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005146/1.696, allocations: 91.81 kB / 0.9839 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/1.696, allocations: 170.9 kB / 0.9841 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/1.696, allocations: 4 kB / 0.9841 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/1.697, allocations: 8 kB / 0.9841 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/1.697, allocations: 121.6 kB / 0.9842 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/1.697, allocations: 3.906 kB / 0.9842 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/1.697, allocations: 8 kB / 0.9842 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/1.697, allocations: 0 / 0.9842 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005558/1.698, allocations: 127.9 kB / 0.9844 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006876/1.698, allocations: 332.6 kB / 0.9847 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/1.699, allocations: 186.4 kB / 0.9849 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/1.699, allocations: 0 / 0.9849 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/1.699, allocations: 34.56 kB / 0.9849 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/1.699, allocations: 4 kB / 0.9849 GB, free: 1.988 MB / 0.7325 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.02043/1.72, allocations: 3.185 MB / 0.988 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/1.72, allocations: 51.41 kB / 0.9881 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/1.72, allocations: 101.9 kB / 0.9882 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/1.72, allocations: 29.7 kB / 0.9882 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/1.72, allocations: 92.03 kB / 0.9883 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.612e-05/1.72, allocations: 39.39 kB / 0.9883 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/1.72, allocations: 8 kB / 0.9883 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002876/1.72, allocations: 314.8 kB / 0.9886 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007371/1.721, allocations: 219.8 kB / 0.9888 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/1.722, allocations: 214.3 kB / 0.989 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/1.723, allocations: 223.8 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.723, allocations: 0 / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002268/1.725, allocations: 0.5207 MB / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.725, allocations: 4 kB / 0.9898 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.725, allocations: 192 / 0.9898 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.725, allocations: 0 / 0.9898 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009029/1.726, allocations: 127.7 kB / 0.9899 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.726, allocations: 0 / 0.9899 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/1.727, allocations: 63.92 kB / 0.9899 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/1.727, allocations: 23.94 kB / 0.99 GB, free: 12.66 MB / 0.7481 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.0002039/1.727, allocations: 125.7 kB / 0.9901 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/1.727, allocations: 4 kB / 0.9901 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/1.727, allocations: 11.97 kB / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.727, allocations: 4 kB / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.727, allocations: 0 / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.727, allocations: 0 / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/1.73, allocations: 1.098 MB / 0.9912 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.73, allocations: 7.922 kB / 0.9912 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/1.731, allocations: 123.7 kB / 0.9913 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.731, allocations: 0 / 0.9913 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/1.731, allocations: 23.92 kB / 0.9913 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.731, allocations: 4 kB / 0.9913 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.731, allocations: 3.953 kB / 0.9913 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/1.733, allocations: 0.8623 MB / 0.9922 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/1.734, allocations: 121 kB / 0.9923 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/1.734, allocations: 0 / 0.9923 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/1.734, allocations: 67.92 kB / 0.9924 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.734, allocations: 27.88 kB / 0.9924 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/1.735, allocations: 24.03 kB / 0.9924 GB, free: 10 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.946e-05/1.735, allocations: 91.16 kB / 0.9925 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.81e-07/1.735, allocations: 0 / 0.9925 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004321/1.735, allocations: 51.98 kB / 0.9925 GB, free: 9.863 MB / 0.7481 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.003104/1.738, allocations: 1.415 MB / 0.9939 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00162/1.74, allocations: 479.5 kB / 0.9944 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.74, allocations: 0 / 0.9944 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007832/1.741, allocations: 247.7 kB / 0.9946 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/1.741, allocations: 7.984 kB / 0.9946 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00766/1.749, allocations: 1.863 MB / 0.9964 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/1.749, allocations: 0.6926 MB / 0.9971 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007497/1.75, allocations: 89.69 kB / 0.9972 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/1.75, allocations: 71.28 kB / 0.9973 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of SimCode: time 2.284e-06/1.75, allocations: 0 / 0.9973 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/1.774, allocations: 4.134 MB / 1.001 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/1.774, allocations: 208.4 kB / 1.002 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/4.647, allocations: 3.781 kB / 1.002 GB, free: 0.7148 MB / 0.7481 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) Environment - environmentSimulation: 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