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.InternalResistancesTwoUTubeNegative.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.001995/0.001995, allocations: 111 kB / 16.46 MB, free: 6.453 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.002289/0.002289, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.4899 GB / 0.7916 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 64.28 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3571, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003061/0.3602, allocations: 1.472 MB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005661/0.3659, allocations: 2.972 MB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.3659, allocations: 4 kB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.3659, allocations: 7.922 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.366, allocations: 11.86 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.3708, allocations: 1.647 MB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3709, allocations: 43.67 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.3709, allocations: 7.984 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.3709, allocations: 11.94 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.694e-05/0.371, allocations: 11.94 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.371, allocations: 3.938 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.3737, allocations: 1.611 MB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.3737, allocations: 11.92 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.3738, allocations: 19.88 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.3759, allocations: 1.122 MB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3759, allocations: 7.984 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3759, allocations: 3.938 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3759, allocations: 0 / 1.33 GB, free: 9.832 MB / 1.029 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.0008599/0.3768, allocations: 0.5363 MB / 1.331 GB, free: 9.246 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3768, allocations: 12.03 kB / 1.331 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.3769, allocations: 92.11 kB / 1.331 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3771, allocations: 255.5 kB / 1.331 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.3772, allocations: 150.9 kB / 1.331 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.3772, allocations: 150.9 kB / 1.331 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.557e-05/0.3773, allocations: 109.1 kB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.3773, allocations: 79.28 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.3774, allocations: 154.6 kB / 1.332 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-05/0.3775, allocations: 150.6 kB / 1.332 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/0.3775, allocations: 158.5 kB / 1.332 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.3779, allocations: 457.9 kB / 1.332 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.378, allocations: 177.1 kB / 1.332 GB, free: 7.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.378, allocations: 80.14 kB / 1.333 GB, free: 7.148 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.3781, allocations: 75.28 kB / 1.333 GB, free: 7.074 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.3781, allocations: 113.8 kB / 1.333 GB, free: 6.953 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3781, allocations: 0 / 1.333 GB, free: 6.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.654e-05/0.3782, allocations: 37.59 kB / 1.333 GB, free: 6.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.3783, allocations: 130.7 kB / 1.333 GB, free: 6.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3785, allocations: 139.8 kB / 1.333 GB, free: 6.625 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3785, allocations: 25.7 kB / 1.333 GB, free: 6.594 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.3786, allocations: 92.14 kB / 1.333 GB, free: 6.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.3786, allocations: 0 / 1.333 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3786, allocations: 17.7 kB / 1.333 GB, free: 6.477 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3787, allocations: 314.8 kB / 1.333 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.3788, allocations: 8 kB / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.3788, allocations: 8 kB / 1.333 GB, free: 6.145 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.3788, allocations: 16.84 kB / 1.333 GB, free: 6.125 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3788, allocations: 0 / 1.333 GB, free: 6.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001353/0.379, allocations: 53.53 kB / 1.334 GB, free: 6.066 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.379, allocations: 8 kB / 1.334 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.379, allocations: 4 kB / 1.334 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.379, allocations: 4 kB / 1.334 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.379, allocations: 0 / 1.334 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.379, allocations: 4 kB / 1.334 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.3791, allocations: 7.953 kB / 1.334 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3791, allocations: 0 / 1.334 GB, free: 6.039 MB / 1.029 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.0001165/0.3792, allocations: 189.1 kB / 1.334 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.3793, allocations: 116.8 kB / 1.334 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.3793, allocations: 104.9 kB / 1.334 GB, free: 5.609 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.842e-05/0.3794, allocations: 180.3 kB / 1.334 GB, free: 5.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.06e-05/0.3795, allocations: 192.2 kB / 1.334 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.072e-05/0.3796, allocations: 180.3 kB / 1.334 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.3799, allocations: 413.2 kB / 1.335 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.292e-05/0.3799, allocations: 104.9 kB / 1.335 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.38, allocations: 105 kB / 1.335 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.071e-05/0.3801, allocations: 188.2 kB / 1.335 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.28e-05/0.3801, allocations: 180.3 kB / 1.335 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.407e-05/0.3802, allocations: 184.2 kB / 1.336 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.588e-05/0.3803, allocations: 176.3 kB / 1.336 GB, free: 3.625 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.3805, allocations: 315.7 kB / 1.336 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/0.3806, allocations: 190 kB / 1.336 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.3807, allocations: 180.2 kB / 1.336 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.3807, allocations: 101 kB / 1.337 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.3808, allocations: 188.2 kB / 1.337 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.3809, allocations: 104.9 kB / 1.337 GB, free: 2.492 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.508e-05/0.381, allocations: 101.3 kB / 1.337 GB, free: 2.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.381, allocations: 0 / 1.337 GB, free: 2.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009047/0.3819, allocations: 295 kB / 1.337 GB, free: 2.105 MB / 1.029 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.001433/0.3833, allocations: 0.5567 MB / 1.338 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.3834, allocations: 42.05 kB / 1.338 GB, free: 1.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3834, allocations: 0 / 1.338 GB, free: 1.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.3834, allocations: 0 / 1.338 GB, free: 1.496 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3839, allocations: 463.6 kB / 1.338 GB, free: 1.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.3843, allocations: 244 kB / 1.338 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3846, allocations: 0.6807 MB / 1.339 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.627e-05/0.3846, allocations: 0 / 1.339 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.3846, allocations: 7.438 kB / 1.339 GB, free: 60 kB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3846, allocations: 4 kB / 1.339 GB, free: 56 kB / 1.029 GB Notification: Performance of Templates: time 0.01163/0.3962, allocations: 5.834 MB / 1.345 GB, free: 10.27 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 9.109288603067398]