Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00198/0.00198, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002524/0.002524, allocations: 166.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.532/1.532, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.764/2.764, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9511 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.016e-05, allocations: 2.281 kB / 0.9511 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003122/0.003152, allocations: 1.441 MB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005196/0.008348, allocations: 2.677 MB / 0.9551 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.008395, allocations: 0 / 0.9551 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.008427, allocations: 7.922 kB / 0.9551 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.008497, allocations: 11.81 kB / 0.9551 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004802/0.0133, allocations: 1.656 MB / 0.9567 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.01342, allocations: 43.67 kB / 0.9568 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.01347, allocations: 4 kB / 0.9568 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.01352, allocations: 19.98 kB / 0.9568 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.01356, allocations: 15.92 kB / 0.9568 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.01358, allocations: 4 kB / 0.9568 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.01644, allocations: 1.485 MB / 0.9583 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.01646, allocations: 7.938 kB / 0.9583 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.01649, allocations: 11.98 kB / 0.9583 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.01902, allocations: 1.282 MB / 0.9595 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.01902, allocations: 0 / 0.9595 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01902, allocations: 0 / 0.9595 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.01903, allocations: 4 kB / 0.9595 GB, free: 2.809 MB / 0.8575 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.0008213/0.01985, allocations: 468.1 kB / 0.96 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.01989, allocations: 8.031 kB / 0.96 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.811e-05/0.01997, allocations: 84.17 kB / 0.9601 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.02015, allocations: 193 kB / 0.9603 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.02022, allocations: 150.9 kB / 0.9604 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.02029, allocations: 150.9 kB / 0.9605 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.944e-05/0.02038, allocations: 105.5 kB / 0.9606 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.02042, allocations: 83.41 kB / 0.9607 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-05/0.02049, allocations: 162.7 kB / 0.9609 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/0.02055, allocations: 154.6 kB / 0.961 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.02062, allocations: 154.6 kB / 0.9612 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.02096, allocations: 413.5 kB / 0.9616 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.02107, allocations: 173.1 kB / 0.9617 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.02111, allocations: 80.14 kB / 0.9618 GB, free: 376 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.02114, allocations: 75.28 kB / 0.9619 GB, free: 300 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.134e-05/0.02122, allocations: 113.8 kB / 0.962 GB, free: 176 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.02122, allocations: 0 / 0.962 GB, free: 176 kB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.631e-05/0.0213, allocations: 29.69 kB / 0.962 GB, free: 140 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.02141, allocations: 138.6 kB / 0.9622 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.02156, allocations: 131.8 kB / 0.9623 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.02158, allocations: 29.7 kB / 0.9623 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.02165, allocations: 92.14 kB / 0.9624 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.02165, allocations: 3.938 kB / 0.9624 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.02169, allocations: 17.7 kB / 0.9624 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.02184, allocations: 318.8 kB / 0.9627 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.02187, allocations: 4 kB / 0.9627 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.02188, allocations: 4 kB / 0.9627 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.02193, allocations: 20.84 kB / 0.9627 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02193, allocations: 0 / 0.9627 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001444/0.02208, allocations: 49.66 kB / 0.9628 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.02209, allocations: 4.062 kB / 0.9628 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.02212, allocations: 11.94 kB / 0.9628 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.02213, allocations: 3.938 kB / 0.9628 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.02214, allocations: 0 / 0.9628 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.02214, allocations: 3.938 kB / 0.9628 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.02218, allocations: 15.98 kB / 0.9628 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.02218, allocations: 0 / 0.9628 GB, free: 15.25 MB / 0.8731 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 0.0001131/0.0223, allocations: 181.1 kB / 0.963 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.02238, allocations: 108.9 kB / 0.9631 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.888e-05/0.02246, allocations: 116.6 kB / 0.9632 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-05/0.02254, allocations: 188.1 kB / 0.9634 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.108e-05/0.02262, allocations: 180.3 kB / 0.9636 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-05/0.02271, allocations: 184.2 kB / 0.9637 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.02295, allocations: 360.9 kB / 0.9641 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.194e-05/0.023, allocations: 105 kB / 0.9642 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.02304, allocations: 104.9 kB / 0.9643 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.334e-05/0.02313, allocations: 184.2 kB / 0.9645 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.783e-05/0.02321, allocations: 180.2 kB / 0.9646 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.87e-05/0.02329, allocations: 180.3 kB / 0.9648 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-05/0.02338, allocations: 192.1 kB / 0.965 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.02356, allocations: 307.8 kB / 0.9653 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.02361, allocations: 112.9 kB / 0.9654 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-05/0.02371, allocations: 176.3 kB / 0.9656 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.0238, allocations: 105 kB / 0.9657 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.02389, allocations: 188.1 kB / 0.9658 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/0.02394, allocations: 105.3 kB / 0.9659 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.21e-05/0.02401, allocations: 101 kB / 0.966 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02401, allocations: 0 / 0.966 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008915/0.0249, allocations: 295 kB / 0.9663 GB, free: 11.49 MB / 0.8731 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.001455/0.02636, allocations: 0.5948 MB / 0.9669 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.02647, allocations: 37.64 kB / 0.9669 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02647, allocations: 0 / 0.9669 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.02647, allocations: 0 / 0.9669 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.02693, allocations: 467.7 kB / 0.9674 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.0273, allocations: 228 kB / 0.9676 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.524e-05/0.02736, allocations: 71.33 kB / 0.9677 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.525e-05/0.02738, allocations: 0 / 0.9677 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.0274, allocations: 8.5 kB / 0.9677 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.0274, allocations: 0 / 0.9677 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.01183/0.03923, allocations: 5.9 MB / 0.9734 GB, free: 4.195 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.50354603305459]