Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.0007437/0.0007437, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001802, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006855/0.0006855, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009406/0.001626, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8556/0.8556, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07224/0.9278, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.199/2.199, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2118/2.411, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.459e-05, allocations: 2.312 kB / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00293/0.002955, allocations: 1.53 MB / 0.8205 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004535/0.00749, allocations: 2.808 MB / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.007526, allocations: 0 / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.007541, allocations: 3.938 kB / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.00759, allocations: 11.88 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.011, allocations: 1.533 MB / 0.8247 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.803e-05/0.01109, allocations: 39.69 kB / 0.8248 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.01112, allocations: 11.98 kB / 0.8248 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.01119, allocations: 31.84 kB / 0.8248 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.838e-05/0.01122, allocations: 8 kB / 0.8248 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.01123, allocations: 8 kB / 0.8248 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.0135, allocations: 1.513 MB / 0.8263 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.01352, allocations: 3.938 kB / 0.8263 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.01354, allocations: 11.94 kB / 0.8263 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.01489, allocations: 1.037 MB / 0.8273 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.01491, allocations: 0 / 0.8273 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01491, allocations: 0 / 0.8273 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.01492, allocations: 3.984 kB / 0.8273 GB, free: 9.836 MB / 0.8073 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.000593/0.01551, allocations: 0.5217 MB / 0.8279 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.01555, allocations: 16.03 kB / 0.8279 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.0156, allocations: 76.22 kB / 0.8279 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.01572, allocations: 195.5 kB / 0.8281 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.01577, allocations: 154.9 kB / 0.8283 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.01582, allocations: 150.9 kB / 0.8284 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.059e-05/0.01587, allocations: 105.5 kB / 0.8285 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.01589, allocations: 79.45 kB / 0.8286 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.01594, allocations: 154.7 kB / 0.8287 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.01598, allocations: 150.6 kB / 0.8289 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/0.01602, allocations: 162.5 kB / 0.829 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.01622, allocations: 361.2 kB / 0.8294 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.272e-05/0.01629, allocations: 169.1 kB / 0.8296 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.01631, allocations: 80.14 kB / 0.8296 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.01634, allocations: 75.28 kB / 0.8297 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.01638, allocations: 109.8 kB / 0.8298 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.01638, allocations: 0 / 0.8298 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.398e-05/0.01644, allocations: 29.64 kB / 0.8298 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.0165, allocations: 130.7 kB / 0.83 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.0166, allocations: 134.5 kB / 0.8301 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.01661, allocations: 29.7 kB / 0.8301 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.01665, allocations: 92.11 kB / 0.8302 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.01665, allocations: 4 kB / 0.8302 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.01669, allocations: 17.7 kB / 0.8302 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.01678, allocations: 318.8 kB / 0.8305 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.0168, allocations: 0 / 0.8305 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.01681, allocations: 4 kB / 0.8305 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.01684, allocations: 8.844 kB / 0.8305 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01684, allocations: 4 kB / 0.8305 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.416e-05/0.01692, allocations: 41.62 kB / 0.8306 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01694, allocations: 4 kB / 0.8306 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.01695, allocations: 0 / 0.8306 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.01696, allocations: 0 / 0.8306 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-06/0.01697, allocations: 8.062 kB / 0.8306 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.01697, allocations: 0 / 0.8306 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.01699, allocations: 11.89 kB / 0.8306 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.017, allocations: 0 / 0.8306 GB, free: 6.332 MB / 0.8073 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/0.01707, allocations: 181.1 kB / 0.8308 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.01712, allocations: 109 kB / 0.8309 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.01717, allocations: 116.7 kB / 0.831 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-05/0.01722, allocations: 176.3 kB / 0.8312 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.946e-05/0.01727, allocations: 184.2 kB / 0.8313 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-05/0.01731, allocations: 184.2 kB / 0.8315 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.01748, allocations: 325.5 kB / 0.8318 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.38e-05/0.01751, allocations: 112.9 kB / 0.8319 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.01754, allocations: 101 kB / 0.832 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.01758, allocations: 116.9 kB / 0.8321 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.742e-05/0.01763, allocations: 180.3 kB / 0.8323 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.01768, allocations: 176.5 kB / 0.8325 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-05/0.01773, allocations: 192.2 kB / 0.8327 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-05/0.01778, allocations: 176.3 kB / 0.8328 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.01788, allocations: 303.7 kB / 0.8331 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.01794, allocations: 188.2 kB / 0.8333 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.01801, allocations: 105 kB / 0.8334 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.01806, allocations: 184.3 kB / 0.8336 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.01809, allocations: 104.9 kB / 0.8337 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.01812, allocations: 26.7 kB / 0.8337 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01812, allocations: 0 / 0.8337 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006093/0.01873, allocations: 294.9 kB / 0.834 GB, free: 2.695 MB / 0.8073 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 (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.001003/0.01973, allocations: 0.5711 MB / 0.8345 GB, free: 2.117 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.981e-05/0.01981, allocations: 42.5 kB / 0.8346 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.01982, allocations: 0 / 0.8346 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.01982, allocations: 0 / 0.8346 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.02016, allocations: 0.5658 MB / 0.8351 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/0.02102, allocations: 247.5 kB / 0.8354 GB, free: 1.203 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.02106, allocations: 55.36 kB / 0.8354 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.525e-05/0.02108, allocations: 8.078 kB / 0.8354 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.02113, allocations: 55.38 kB / 0.8355 GB, free: 1.066 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.02113, allocations: 0 / 0.8355 GB, free: 1.066 MB / 0.8073 GB Notification: Performance of Templates: time 0.01161/0.03275, allocations: 7.064 MB / 0.8424 GB, free: 10.07 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9058333821594715]