Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.622/2.622, allocations: 254.9 MB / 269.9 MB, free: 9.633 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001407, allocations: 187.5 kB / 329.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.484/2.484, allocations: 225.6 MB / 0.6001 GB, free: 452 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009631/0.0009629, allocations: 97.45 kB / 0.7074 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004881, allocations: 15.86 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 109.1 MB / 0.9308 GB, free: 24.82 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007863/0.2107, allocations: 330.1 kB / 0.9311 GB, free: 24.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2127, allocations: 1.389 MB / 0.9325 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.2128, allocations: 0 / 0.9325 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.2128, allocations: 0 / 0.9325 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.2129, allocations: 3.938 kB / 0.9325 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.2134, allocations: 107.7 kB / 0.9326 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.167e-05/0.2135, allocations: 27.89 kB / 0.9326 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.2135, allocations: 0 / 0.9326 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.2136, allocations: 19.98 kB / 0.9326 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.733e-05/0.2137, allocations: 23.91 kB / 0.9326 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.2137, allocations: 0 / 0.9326 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.2143, allocations: 307.4 kB / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.2144, allocations: 7.984 kB / 0.9329 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.2144, allocations: 25.7 kB / 0.933 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.2147, allocations: 131.8 kB / 0.9331 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2147, allocations: 0 / 0.9331 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2147, allocations: 0 / 0.9331 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.2147, allocations: 0 / 0.9331 GB, free: 22.44 MB / 0.5886 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.0005903/0.2153, allocations: 367.8 kB / 0.9334 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2154, allocations: 8.031 kB / 0.9334 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/0.2161, allocations: 80.84 kB / 0.9335 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.2163, allocations: 160.4 kB / 0.9337 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.2163, allocations: 4.375 kB / 0.9337 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.2163, allocations: 8.312 kB / 0.9337 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.2167, allocations: 85.94 kB / 0.9338 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2168, allocations: 3.984 kB / 0.9338 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.2168, allocations: 4 kB / 0.9338 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2168, allocations: 0 / 0.9338 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.2173, allocations: 75.94 kB / 0.9338 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.2175, allocations: 169.6 kB / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.2185, allocations: 146.5 kB / 0.9341 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.2189, allocations: 44.92 kB / 0.9342 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007743/0.2197, allocations: 177 kB / 0.9344 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.2197, allocations: 34.5 kB / 0.9344 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 3.416e-06/0.2197, allocations: 4 kB / 0.9344 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.001792/0.2215, allocations: 434.2 kB / 0.9348 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.2216, allocations: 51.41 kB / 0.9349 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.411e-05/0.2217, allocations: 97.86 kB / 0.9349 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.2217, allocations: 25.7 kB / 0.935 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.2217, allocations: 84.08 kB / 0.935 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.2218, allocations: 27.64 kB / 0.9351 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.2218, allocations: 0 / 0.9351 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.2218, allocations: 315 kB / 0.9354 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.2221, allocations: 39.97 kB / 0.9354 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.2224, allocations: 47.95 kB / 0.9355 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.2227, allocations: 39.97 kB / 0.9355 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2227, allocations: 0 / 0.9355 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006566/0.2234, allocations: 129.5 kB / 0.9356 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2234, allocations: 8 kB / 0.9356 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2234, allocations: 0 / 0.9356 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.2234, allocations: 0 / 0.9356 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.2237, allocations: 31.97 kB / 0.9357 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2237, allocations: 3.938 kB / 0.9357 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.2239, allocations: 11.98 kB / 0.9357 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.224, allocations: 8 kB / 0.9357 GB, free: 19.49 MB / 0.5886 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 8.114e-05/0.224, allocations: 105.8 kB / 0.9358 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.2241, allocations: 12.17 kB / 0.9358 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/0.2248, allocations: 149.1 kB / 0.9359 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2249, allocations: 4 kB / 0.9359 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2249, allocations: 0 / 0.9359 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2249, allocations: 3.984 kB / 0.9359 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.225, allocations: 169.6 kB / 0.9361 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2251, allocations: 0 / 0.9361 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.2253, allocations: 31.91 kB / 0.9361 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2254, allocations: 0 / 0.9361 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2254, allocations: 0 / 0.9361 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2254, allocations: 4 kB / 0.9361 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2254, allocations: 0 / 0.9361 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009435/0.2264, allocations: 212.9 kB / 0.9363 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.2265, allocations: 89.06 kB / 0.9364 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.2265, allocations: 0 / 0.9364 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.2267, allocations: 15.98 kB / 0.9364 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.2268, allocations: 8.328 kB / 0.9365 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.2268, allocations: 3.984 kB / 0.9365 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.2269, allocations: 83.34 kB / 0.9365 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2269, allocations: 0 / 0.9365 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002973/0.2272, allocations: 28 kB / 0.9366 GB, free: 18.48 MB / 0.5886 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.0002374/0.2274, allocations: 135.7 kB / 0.9367 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006097/0.228, allocations: 99.95 kB / 0.9368 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2281, allocations: 0 / 0.9368 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.2284, allocations: 55.95 kB / 0.9368 GB, free: 18.19 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.2286, allocations: 7.938 kB / 0.9368 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.2295, allocations: 216.5 kB / 0.9371 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2296, allocations: 0.677 MB / 0.9377 GB, free: 17.24 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.2298, allocations: 16 kB / 0.9377 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.2299, allocations: 15.42 kB / 0.9377 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.2299, allocations: 0 / 0.9377 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of Templates: time 0.004234/0.2341, allocations: 1.116 MB / 0.9388 GB, free: 16.1 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)