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.InternalResistancesOneUTube.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.0007947/0.0007947, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001886, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007218/0.0007218, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009745/0.001696, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9029/0.9029, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07294/0.9758, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.734/1.734, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4332/2.167, allocations: 123.3 MB / 0.7283 GB, free: 5.695 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.7297 GB, free: 4.324 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.997e-06/1.033e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.32 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001585/0.001595, allocations: 1.538 MB / 0.7312 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.004518, allocations: 2.803 MB / 0.7339 GB, free: 20 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.004556, allocations: 0 / 0.7339 GB, free: 20 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.004567, allocations: 7.922 kB / 0.734 GB, free: 12 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.237e-05/0.004599, allocations: 11.81 kB / 0.734 GB, free: 0 / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.006891, allocations: 1.534 MB / 0.7355 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.006967, allocations: 40.75 kB / 0.7355 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.939e-05/0.006996, allocations: 3.938 kB / 0.7355 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.007046, allocations: 24.72 kB / 0.7355 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.151e-05/0.007068, allocations: 15.94 kB / 0.7355 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.007077, allocations: 1.438 kB / 0.7355 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.008684, allocations: 1.521 MB / 0.737 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.0087, allocations: 4 kB / 0.737 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.008722, allocations: 13.19 kB / 0.7371 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.009781, allocations: 1.029 MB / 0.7381 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.009791, allocations: 4 kB / 0.7381 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.009791, allocations: 1.25 kB / 0.7381 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.009801, allocations: 0 / 0.7381 GB, free: 11.84 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.000497/0.0103, allocations: 0.5217 MB / 0.7386 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.01033, allocations: 17.23 kB / 0.7386 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.01036, allocations: 80.2 kB / 0.7387 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.693e-05/0.01045, allocations: 193 kB / 0.7388 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.01048, allocations: 154.9 kB / 0.739 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.01052, allocations: 160 kB / 0.7391 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.679e-05/0.01056, allocations: 101.5 kB / 0.7392 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.01057, allocations: 76 kB / 0.7393 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.01074, allocations: 154.7 kB / 0.7395 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.01077, allocations: 152.1 kB / 0.7396 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.0108, allocations: 162.5 kB / 0.7398 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.01094, allocations: 357.3 kB / 0.7401 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.01099, allocations: 169.1 kB / 0.7403 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.01101, allocations: 81.36 kB / 0.7403 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.01103, allocations: 79.28 kB / 0.7404 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.01106, allocations: 105.8 kB / 0.7405 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.01106, allocations: 0.5 kB / 0.7405 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.537e-05/0.0111, allocations: 34.39 kB / 0.7406 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.01114, allocations: 126.7 kB / 0.7407 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.01122, allocations: 146.1 kB / 0.7408 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.01123, allocations: 25.7 kB / 0.7408 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.01125, allocations: 92.77 kB / 0.7409 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-07/0.01125, allocations: 0 / 0.7409 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.01128, allocations: 15.5 kB / 0.7409 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.01134, allocations: 318.8 kB / 0.7412 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.01135, allocations: 0 / 0.7412 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.01136, allocations: 7.969 kB / 0.7413 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.01138, allocations: 8.875 kB / 0.7413 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01138, allocations: 2.438 kB / 0.7413 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.81e-05/0.01144, allocations: 41.62 kB / 0.7413 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.01145, allocations: 4 kB / 0.7413 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.01146, allocations: 0 / 0.7413 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.01147, allocations: 4 kB / 0.7413 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.01147, allocations: 0 / 0.7413 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.01148, allocations: 6.469 kB / 0.7413 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.01149, allocations: 7.891 kB / 0.7413 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.01149, allocations: 0 / 0.7413 GB, free: 8.34 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 5.866e-05/0.01155, allocations: 189.1 kB / 0.7415 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.01158, allocations: 112.9 kB / 0.7416 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.01162, allocations: 112.8 kB / 0.7417 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.01166, allocations: 177.3 kB / 0.7419 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/0.01169, allocations: 184.2 kB / 0.7421 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/0.01173, allocations: 180.2 kB / 0.7422 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.01186, allocations: 334.3 kB / 0.7426 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.01188, allocations: 101 kB / 0.7427 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.0119, allocations: 105.5 kB / 0.7428 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.01193, allocations: 116.9 kB / 0.7429 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.332e-05/0.01196, allocations: 179.1 kB / 0.743 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.012, allocations: 184.2 kB / 0.7432 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.421e-05/0.01203, allocations: 176.3 kB / 0.7434 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.641e-05/0.01207, allocations: 180.2 kB / 0.7436 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.015e-05/0.01215, allocations: 307.7 kB / 0.7438 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.01219, allocations: 184.2 kB / 0.744 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.01223, allocations: 105 kB / 0.7441 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.01228, allocations: 187.3 kB / 0.7443 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.0123, allocations: 104.9 kB / 0.7444 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.063e-05/0.01232, allocations: 24.83 kB / 0.7444 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01232, allocations: 0 / 0.7444 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004756/0.0128, allocations: 291 kB / 0.7447 GB, free: 4.707 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.0006906/0.01349, allocations: 0.5814 MB / 0.7453 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.206e-05/0.01355, allocations: 43.17 kB / 0.7453 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01355, allocations: 0.5312 kB / 0.7453 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/0.01355, allocations: 3.938 kB / 0.7453 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.01381, allocations: 0.5699 MB / 0.7459 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.01437, allocations: 239.4 kB / 0.7461 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.651e-05/0.0144, allocations: 56.33 kB / 0.7462 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.668e-06/0.01441, allocations: 0 / 0.7462 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.01445, allocations: 63.94 kB / 0.7462 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/0.01445, allocations: 0 / 0.7462 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of Templates: time 0.007464/0.02191, allocations: 7.039 MB / 0.7531 GB, free: 12.22 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.744919694960117]