Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.000726/0.000726, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009576/0.001684, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007069/0.0007069, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009645/0.001671, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8638/0.8638, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08099/0.9448, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.796/1.796, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4114/2.207, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.511e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002543/0.002568, allocations: 1.554 MB / 0.7309 GB, free: 2.945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004107/0.006676, allocations: 2.83 MB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.00673, allocations: 0.875 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.006748, allocations: 7.922 kB / 0.7337 GB, free: 120 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.006798, allocations: 17.25 kB / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.01028, allocations: 1.549 MB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.0104, allocations: 47.62 kB / 0.7353 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.01045, allocations: 7.984 kB / 0.7353 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.01053, allocations: 29.5 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.216e-05/0.01056, allocations: 12 kB / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.01057, allocations: 0 / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.01336, allocations: 1.556 MB / 0.7368 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.01338, allocations: 4.562 kB / 0.7368 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.01341, allocations: 12 kB / 0.7368 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.01491, allocations: 1.053 MB / 0.7379 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.727e-05/0.01493, allocations: 0 / 0.7379 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.01493, allocations: 1.031 kB / 0.7379 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.01494, allocations: 0 / 0.7379 GB, free: 11.86 MB / 0.7136 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.000499/0.01544, allocations: 0.5334 MB / 0.7384 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.01547, allocations: 13.14 kB / 0.7384 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.01551, allocations: 80.16 kB / 0.7385 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.444e-05/0.0156, allocations: 197 kB / 0.7387 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.01564, allocations: 151.5 kB / 0.7388 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.01567, allocations: 156.1 kB / 0.739 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.137e-05/0.01572, allocations: 105.5 kB / 0.7391 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01573, allocations: 75.47 kB / 0.7391 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.01577, allocations: 159.6 kB / 0.7393 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.0158, allocations: 154.6 kB / 0.7394 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.01584, allocations: 154.5 kB / 0.7396 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.01598, allocations: 358.6 kB / 0.7399 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.01604, allocations: 165.1 kB / 0.7401 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.01606, allocations: 80.14 kB / 0.7402 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.01608, allocations: 80.38 kB / 0.7402 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.01611, allocations: 105.8 kB / 0.7403 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.924e-06/0.01611, allocations: 3.984 kB / 0.7403 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.767e-05/0.01616, allocations: 36.39 kB / 0.7404 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.0162, allocations: 130.7 kB / 0.7405 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.0163, allocations: 145.7 kB / 0.7406 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.0163, allocations: 25.7 kB / 0.7407 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.01634, allocations: 92.08 kB / 0.7407 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.01634, allocations: 0 / 0.7407 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.01636, allocations: 17.7 kB / 0.7408 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.01643, allocations: 321.4 kB / 0.7411 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.01644, allocations: 0 / 0.7411 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.01645, allocations: 0 / 0.7411 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.01648, allocations: 16.8 kB / 0.7411 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01648, allocations: 0 / 0.7411 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.52e-05/0.01655, allocations: 41.75 kB / 0.7411 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.01656, allocations: 4 kB / 0.7411 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.01657, allocations: 6.312 kB / 0.7411 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.01658, allocations: 0 / 0.7411 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-06/0.01658, allocations: 0 / 0.7411 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.01659, allocations: 0 / 0.7411 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.0166, allocations: 3.938 kB / 0.7411 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.01661, allocations: 0 / 0.7411 GB, free: 8.352 MB / 0.7136 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 6.536e-05/0.01667, allocations: 195.5 kB / 0.7413 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.0167, allocations: 104.9 kB / 0.7414 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.01674, allocations: 108.8 kB / 0.7415 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/0.01678, allocations: 184.3 kB / 0.7417 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.91e-05/0.01682, allocations: 184.2 kB / 0.7419 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-05/0.01686, allocations: 192.2 kB / 0.7421 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.01698, allocations: 331.3 kB / 0.7424 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.017, allocations: 101 kB / 0.7425 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.01703, allocations: 101 kB / 0.7426 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.01705, allocations: 116.9 kB / 0.7427 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.574e-05/0.01709, allocations: 176.3 kB / 0.7428 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.01713, allocations: 189.2 kB / 0.743 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.482e-05/0.01716, allocations: 176.3 kB / 0.7432 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.774e-05/0.0172, allocations: 184.2 kB / 0.7434 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.105e-05/0.01729, allocations: 308.7 kB / 0.7437 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.01734, allocations: 180.2 kB / 0.7438 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.01738, allocations: 105 kB / 0.7439 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.01743, allocations: 182.8 kB / 0.7441 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.01745, allocations: 101 kB / 0.7442 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.779e-05/0.01748, allocations: 32.83 kB / 0.7442 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01748, allocations: 0 / 0.7442 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005552/0.01804, allocations: 294.9 kB / 0.7445 GB, free: 4.703 MB / 0.7136 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.0007926/0.01883, allocations: 0.5902 MB / 0.7451 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.0189, allocations: 43.36 kB / 0.7451 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01891, allocations: 0 / 0.7451 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.01891, allocations: 8.562 kB / 0.7451 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.01914, allocations: 477.1 kB / 0.7456 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.01978, allocations: 240.6 kB / 0.7458 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.01981, allocations: 55.34 kB / 0.7459 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.499e-05/0.01983, allocations: 0 / 0.7459 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.01987, allocations: 59.31 kB / 0.7459 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/0.01987, allocations: 1.125 kB / 0.7459 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of Templates: time 0.008512/0.02838, allocations: 7.33 MB / 0.7531 GB, free: 12.04 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.920637680217624]