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.0009813/0.0009813, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001198/0.001198, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.459/2.459, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6507/0.651, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.000605/0.6516, allocations: 333.5 kB / 0.9815 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.6533, allocations: 1.387 MB / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.6533, allocations: 0 / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.047e-06/0.6534, allocations: 0 / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.875e-05/0.6534, allocations: 0 / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.6538, allocations: 115.7 kB / 0.9829 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.522e-05/0.6538, allocations: 23.97 kB / 0.9829 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.6539, allocations: 0 / 0.9829 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.6539, allocations: 19.97 kB / 0.983 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.654, allocations: 23.91 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.654, allocations: 0 / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.6544, allocations: 307.4 kB / 0.9833 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.6544, allocations: 11.98 kB / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.6545, allocations: 25.7 kB / 0.9833 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.6546, allocations: 123.9 kB / 0.9834 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6547, allocations: 4 kB / 0.9834 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6547, allocations: 0 / 0.9834 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.6547, allocations: 3.938 kB / 0.9834 GB, free: 3.859 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.0003965/0.6551, allocations: 367.3 kB / 0.9838 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.6551, allocations: 8.031 kB / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.6551, allocations: 30.56 kB / 0.9838 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.6555, allocations: 87.84 kB / 0.9839 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.734e-05/0.6556, allocations: 159.1 kB / 0.9841 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.6557, allocations: 4 kB / 0.9841 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.6557, allocations: 4 kB / 0.9841 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.6559, allocations: 93.56 kB / 0.9842 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.6559, allocations: 0 / 0.9842 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.656, allocations: 0 / 0.9842 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.656, allocations: 0 / 0.9842 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.6562, allocations: 79.88 kB / 0.9842 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.6564, allocations: 169.6 kB / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.6569, allocations: 142.6 kB / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.6571, allocations: 48.92 kB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004065/0.6575, allocations: 177 kB / 0.9848 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.6575, allocations: 34.56 kB / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6575, allocations: 0 / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.001002/0.6585, allocations: 438.1 kB / 0.9852 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.6586, allocations: 51.41 kB / 0.9853 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/0.6586, allocations: 105.8 kB / 0.9854 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.6587, allocations: 29.64 kB / 0.9854 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.6587, allocations: 80.14 kB / 0.9855 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.6587, allocations: 27.7 kB / 0.9855 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.6587, allocations: 0 / 0.9855 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.6588, allocations: 310.8 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.659, allocations: 44.09 kB / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.6591, allocations: 47.95 kB / 0.9859 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.6593, allocations: 35.98 kB / 0.9859 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.6593, allocations: 0 / 0.9859 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003283/0.6596, allocations: 129.9 kB / 0.986 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.6596, allocations: 4 kB / 0.986 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6597, allocations: 3.953 kB / 0.986 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.6597, allocations: 0 / 0.986 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.6598, allocations: 35.91 kB / 0.9861 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.6598, allocations: 0 / 0.9861 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.132e-05/0.6599, allocations: 19.98 kB / 0.9861 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.6599, allocations: 3.938 kB / 0.9861 GB, free: 0.8594 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 7.213e-05/0.66, allocations: 113.8 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.66, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.6604, allocations: 145.2 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6605, allocations: 3.953 kB / 0.9863 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.6605, allocations: 0 / 0.9863 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6605, allocations: 4 kB / 0.9863 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.6606, allocations: 165.7 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6606, allocations: 4 kB / 0.9865 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.6608, allocations: 31.91 kB / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.6608, allocations: 0 / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.6608, allocations: 0 / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6608, allocations: 7.953 kB / 0.9865 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6608, allocations: 0 / 0.9865 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.6613, allocations: 208.9 kB / 0.9867 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.6614, allocations: 81.42 kB / 0.9868 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.6614, allocations: 4.031 kB / 0.9868 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.6615, allocations: 16.05 kB / 0.9868 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.6616, allocations: 7.953 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.6616, allocations: 11.98 kB / 0.9869 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 2.786e-05/0.6616, allocations: 75.28 kB / 0.9869 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6616, allocations: 0 / 0.9869 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002192/0.6618, allocations: 31.88 kB / 0.987 GB, free: 15.87 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.0008183/0.6627, allocations: 0.7882 MB / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.663, allocations: 99.92 kB / 0.9878 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.663, allocations: 0 / 0.9878 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.6632, allocations: 51.97 kB / 0.9879 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.6633, allocations: 5.5 kB / 0.9879 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.6645, allocations: 0.5531 MB / 0.9884 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.6647, allocations: 0.6809 MB / 0.9891 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.6648, allocations: 24 kB / 0.9891 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.6649, allocations: 15.44 kB / 0.9891 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.6649, allocations: 0 / 0.9891 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.6756, allocations: 1.816 MB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.6758, allocations: 212.9 kB / 0.9911 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.369, allocations: 4 kB / 0.9911 GB, free: 11.66 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