Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007874/0.0007874, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9457/0.9457, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.866/1.866, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7753 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.513e-05, allocations: 4.422 kB / 0.7753 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001116/0.001132, allocations: 0.6794 MB / 0.7759 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.002517, allocations: 1.47 MB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.002538, allocations: 0 / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.002554, allocations: 0 / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.994e-05/0.002584, allocations: 0.7656 kB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.002945, allocations: 152.6 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.397e-05/0.002999, allocations: 27.92 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.794e-05/0.003027, allocations: 0 / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.003076, allocations: 23.97 kB / 0.7776 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.003134, allocations: 23.95 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.003146, allocations: 4 kB / 0.7776 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.003403, allocations: 251.5 kB / 0.7778 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.003417, allocations: 14.98 kB / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.003433, allocations: 11.92 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.003884, allocations: 207.4 kB / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003886, allocations: 0 / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.2e-07/0.003887, allocations: 0 / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.135e-06/0.00389, allocations: 0 / 0.778 GB, free: 2.496 MB / 0.7292 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.0002851/0.004175, allocations: 264.3 kB / 0.7783 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.004205, allocations: 14.14 kB / 0.7783 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.004401, allocations: 58.97 kB / 0.7784 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.815e-05/0.004469, allocations: 110.7 kB / 0.7785 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.004481, allocations: 384 / 0.7785 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.004495, allocations: 4.906 kB / 0.7785 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.00462, allocations: 98.42 kB / 0.7786 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004626, allocations: 192 / 0.7786 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.004634, allocations: 8.312 kB / 0.7786 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.004639, allocations: 5.719 kB / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.004671, allocations: 11.98 kB / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.459e-05/0.004755, allocations: 65.03 kB / 0.7787 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.00489, allocations: 43.28 kB / 0.7787 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.004912, allocations: 17.58 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.005047, allocations: 50.41 kB / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.005062, allocations: 31.12 kB / 0.7788 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005063, allocations: 1.562 kB / 0.7788 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0003314/0.005395, allocations: 198 kB / 0.779 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.005415, allocations: 51.41 kB / 0.779 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.25e-05/0.005458, allocations: 107.5 kB / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.005467, allocations: 26.27 kB / 0.7792 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.809e-05/0.005485, allocations: 80.14 kB / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.005511, allocations: 28.41 kB / 0.7793 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.005544, allocations: 18.95 kB / 0.7793 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.005609, allocations: 318.8 kB / 0.7796 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.005625, allocations: 11.94 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.005639, allocations: 5.562 kB / 0.7796 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.005677, allocations: 24.84 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.005677, allocations: 0 / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.951e-05/0.005737, allocations: 54.31 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.005747, allocations: 4 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.00575, allocations: 1.062 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.00576, allocations: 0 / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.005825, allocations: 16.48 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.005828, allocations: 4.922 kB / 0.7797 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.005859, allocations: 15.94 kB / 0.7797 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005864, allocations: 0.9062 kB / 0.7797 GB, free: 0.6133 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.005909, allocations: 105.8 kB / 0.7798 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.005919, allocations: 8.703 kB / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.00602, allocations: 72.88 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.006021, allocations: 0 / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006023, allocations: 5.344 kB / 0.7799 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.006026, allocations: 3.938 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.855e-05/0.006085, allocations: 73.89 kB / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006086, allocations: 0 / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.006144, allocations: 21.69 kB / 0.78 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006146, allocations: 4 kB / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.006152, allocations: 0 / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006153, allocations: 0.5625 kB / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006154, allocations: 0 / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.006259, allocations: 98.77 kB / 0.7801 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.006283, allocations: 3.984 kB / 0.7801 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.006293, allocations: 8 kB / 0.7801 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.214e-05/0.006325, allocations: 5 kB / 0.7801 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.006341, allocations: 3.984 kB / 0.7801 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.006345, allocations: 4.938 kB / 0.7801 GB, free: 168 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.005e-06/0.006353, allocations: 8.844 kB / 0.7801 GB, free: 156 kB / 0.7292 GB Notification: Performance of sort global known variables: time 2.31e-07/0.006353, allocations: 2.625 kB / 0.7801 GB, free: 156 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001343/0.006488, allocations: 39.86 kB / 0.7802 GB, free: 116 kB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.006595, allocations: 108.2 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.006684, allocations: 29.03 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.006686, allocations: 3.938 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.006708, allocations: 27.59 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.601e-05/0.006764, allocations: 7.938 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.006998, allocations: 140.6 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.302e-05/0.007021, allocations: 58.23 kB / 0.7805 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.597e-05/0.007077, allocations: 24.84 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.007132, allocations: 54.16 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/0.007132, allocations: 0 / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.002426/0.009559, allocations: 1.337 MB / 0.7819 GB, free: 14.36 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.752833378501236]