Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01033/0.01033, allocations: 88.39 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001176/0.001176, allocations: 172.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.041/2.041, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.596/2.596, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005041, allocations: 17.12 kB / 0.6244 GB, free: 28.5 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2212, allocations: 106.2 MB / 0.7281 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001904/0.2231, allocations: 1.13 MB / 0.7292 GB, free: 8.977 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005736/0.2289, allocations: 2.65 MB / 0.7318 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.229, allocations: 0 / 0.7318 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.229, allocations: 3.938 kB / 0.7318 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.2291, allocations: 23.95 kB / 0.7318 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005429/0.2346, allocations: 1.271 MB / 0.7331 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.2347, allocations: 35.88 kB / 0.7331 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.2348, allocations: 7.984 kB / 0.7331 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.2348, allocations: 7.938 kB / 0.7331 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.848e-05/0.2348, allocations: 23.92 kB / 0.7331 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.2349, allocations: 4 kB / 0.7332 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.2378, allocations: 1.166 MB / 0.7343 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.2379, allocations: 7.984 kB / 0.7343 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.238, allocations: 33.64 kB / 0.7343 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.2398, allocations: 0.7177 MB / 0.735 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.2398, allocations: 0 / 0.735 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2398, allocations: 0 / 0.735 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2399, allocations: 0 / 0.735 GB, free: 3.008 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008355/0.2407, allocations: 0.5067 MB / 0.7355 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.2408, allocations: 12.03 kB / 0.7355 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.2408, allocations: 105.8 kB / 0.7356 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.2409, allocations: 79.23 kB / 0.7357 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2411, allocations: 254.2 kB / 0.736 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.2412, allocations: 150.6 kB / 0.7361 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.2412, allocations: 162.5 kB / 0.7363 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.758e-05/0.2413, allocations: 108.9 kB / 0.7364 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.2414, allocations: 75.28 kB / 0.7364 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.2414, allocations: 150.6 kB / 0.7366 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.355e-05/0.2415, allocations: 154.5 kB / 0.7367 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.671e-05/0.2415, allocations: 158.6 kB / 0.7369 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.2419, allocations: 461.9 kB / 0.7373 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.471e-05/0.242, allocations: 177.1 kB / 0.7375 GB, free: 332 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.242, allocations: 79.22 kB / 0.7376 GB, free: 252 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.2421, allocations: 105.8 kB / 0.7377 GB, free: 136 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.764e-06/0.2421, allocations: 4 kB / 0.7377 GB, free: 132 kB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 9.118e-05/0.2422, allocations: 33.61 kB / 0.7377 GB, free: 92 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.2423, allocations: 126.7 kB / 0.7378 GB, free: 15.95 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.2425, allocations: 137.1 kB / 0.7379 GB, free: 15.81 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2425, allocations: 29.64 kB / 0.738 GB, free: 15.78 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.2426, allocations: 92.12 kB / 0.7381 GB, free: 15.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.2426, allocations: 0 / 0.7381 GB, free: 15.68 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.2426, allocations: 0 / 0.7381 GB, free: 15.68 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2427, allocations: 318.8 kB / 0.7384 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.2428, allocations: 4 kB / 0.7384 GB, free: 15.36 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.2428, allocations: 11.98 kB / 0.7384 GB, free: 15.35 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.642e-05/0.2429, allocations: 4 kB / 0.7384 GB, free: 15.34 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2429, allocations: 0 / 0.7384 GB, free: 15.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001593/0.243, allocations: 45.61 kB / 0.7384 GB, free: 15.29 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2431, allocations: 4 kB / 0.7384 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.2431, allocations: 4 kB / 0.7384 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2431, allocations: 0 / 0.7384 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.466e-06/0.2431, allocations: 3.984 kB / 0.7384 GB, free: 15.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2431, allocations: 4.062 kB / 0.7384 GB, free: 15.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.2432, allocations: 4 kB / 0.7384 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2432, allocations: 3.953 kB / 0.7385 GB, free: 15.27 MB / 0.573 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000104/0.2433, allocations: 185.1 kB / 0.7386 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.2434, allocations: 108.9 kB / 0.7387 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.2435, allocations: 108.9 kB / 0.7388 GB, free: 14.85 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.069e-05/0.2436, allocations: 192.2 kB / 0.739 GB, free: 14.65 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.611e-05/0.2436, allocations: 180.3 kB / 0.7392 GB, free: 14.47 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.263e-05/0.2437, allocations: 180.2 kB / 0.7394 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.244, allocations: 413.2 kB / 0.7398 GB, free: 13.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/0.244, allocations: 101 kB / 0.7399 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.2441, allocations: 112.9 kB / 0.74 GB, free: 13.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.693e-05/0.2442, allocations: 184.3 kB / 0.7401 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/0.2443, allocations: 180.2 kB / 0.7403 GB, free: 13.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.627e-05/0.2443, allocations: 180.3 kB / 0.7405 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.526e-05/0.2444, allocations: 176.5 kB / 0.7406 GB, free: 12.87 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.2446, allocations: 331.6 kB / 0.741 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.2447, allocations: 182 kB / 0.7411 GB, free: 12.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.2448, allocations: 176.3 kB / 0.7413 GB, free: 12.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.2449, allocations: 109 kB / 0.7414 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.245, allocations: 188.1 kB / 0.7416 GB, free: 11.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.245, allocations: 101 kB / 0.7417 GB, free: 11.73 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.013e-05/0.2451, allocations: 99.27 kB / 0.7418 GB, free: 11.63 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2451, allocations: 0 / 0.7418 GB, free: 11.63 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001048/0.2462, allocations: 275.8 kB / 0.742 GB, free: 11.36 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001865/0.2481, allocations: 1.172 MB / 0.7432 GB, free: 10.17 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.2483, allocations: 33.7 kB / 0.7432 GB, free: 10.13 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2483, allocations: 0 / 0.7432 GB, free: 10.13 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.2483, allocations: 0 / 0.7432 GB, free: 10.13 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.2488, allocations: 0.5341 MB / 0.7437 GB, free: 9.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.2498, allocations: 0.5443 MB / 0.7443 GB, free: 9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.2501, allocations: 0.6888 MB / 0.7449 GB, free: 8.285 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.2501, allocations: 0 / 0.7449 GB, free: 8.285 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.2502, allocations: 18.23 kB / 0.745 GB, free: 8.27 MB / 0.573 GB Notification: Performance of SimCode: time 1.262e-06/0.2502, allocations: 0 / 0.745 GB, free: 8.27 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.2882, allocations: 6.715 MB / 0.7515 GB, free: 1.785 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000396/0.2887, allocations: 316.4 kB / 0.7518 GB, free: 1.434 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/3.19, allocations: 0 / 0.7518 GB, free: 1.434 MB / 0.573 GB