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.001728/0.001728, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002093/0.002093, allocations: 222.8 kB / 23 MB, free: 4.914 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002087/0.002087, allocations: 67.16 kB / 1.118 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3914, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002825/0.3942, allocations: 1.445 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.399, allocations: 2.679 MB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.3991, allocations: 0 / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.3991, allocations: 7.922 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.723e-05/0.3992, allocations: 15.81 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004328/0.4035, allocations: 1.632 MB / 1.29 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.4036, allocations: 47.67 kB / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.4037, allocations: 0 / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.4037, allocations: 23.91 kB / 1.29 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.2e-05/0.4037, allocations: 19.88 kB / 1.29 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.4038, allocations: 4 kB / 1.29 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.4061, allocations: 1.474 MB / 1.291 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.4061, allocations: 8 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.4062, allocations: 19.88 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.4077, allocations: 1.099 MB / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4077, allocations: 0 / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4077, allocations: 0 / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.4077, allocations: 4 kB / 1.292 GB, free: 3.422 MB / 0.9825 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.0006735/0.4084, allocations: 476 kB / 1.293 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4085, allocations: 12.03 kB / 1.293 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.4085, allocations: 80.17 kB / 1.293 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.4087, allocations: 197.7 kB / 1.293 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.4088, allocations: 154.9 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.4089, allocations: 150.9 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.4089, allocations: 109.1 kB / 1.293 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.122e-05/0.409, allocations: 79.22 kB / 1.293 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/0.4091, allocations: 150.6 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.698e-05/0.4092, allocations: 154.6 kB / 1.294 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4093, allocations: 154.5 kB / 1.294 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.4097, allocations: 417.6 kB / 1.294 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.4098, allocations: 165.1 kB / 1.294 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.4099, allocations: 92.02 kB / 1.294 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.4099, allocations: 75.28 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/0.41, allocations: 113.8 kB / 1.295 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.41, allocations: 0 / 1.295 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.734e-05/0.4101, allocations: 41.58 kB / 1.295 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.4101, allocations: 126.7 kB / 1.295 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.4103, allocations: 137.8 kB / 1.295 GB, free: 456 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4103, allocations: 25.7 kB / 1.295 GB, free: 424 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.4104, allocations: 88.14 kB / 1.295 GB, free: 332 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.4104, allocations: 0 / 1.295 GB, free: 332 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.4104, allocations: 21.7 kB / 1.295 GB, free: 304 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4106, allocations: 314.8 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.4106, allocations: 11.94 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.734e-05/0.4106, allocations: 7.938 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/0.4107, allocations: 16.84 kB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4107, allocations: 0 / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001384/0.4108, allocations: 49.66 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4108, allocations: 14.19 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.4108, allocations: 4 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4109, allocations: 0 / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.4109, allocations: 0 / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4109, allocations: 3.984 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.4109, allocations: 7.953 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.4109, allocations: 3.984 kB / 1.295 GB, free: 15.86 MB / 0.9981 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.0001284/0.411, allocations: 189.1 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.4111, allocations: 112.9 kB / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.4112, allocations: 108.8 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.507e-05/0.4112, allocations: 188.2 kB / 1.296 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.909e-05/0.4113, allocations: 184.2 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.605e-05/0.4114, allocations: 180.2 kB / 1.296 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.4117, allocations: 364.9 kB / 1.297 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.486e-05/0.4117, allocations: 101 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.4117, allocations: 108.9 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.353e-05/0.4118, allocations: 180.2 kB / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.484e-05/0.4119, allocations: 184.1 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-05/0.412, allocations: 188.3 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.831e-05/0.4121, allocations: 180.2 kB / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.4123, allocations: 311.7 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.4123, allocations: 116.9 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.4124, allocations: 184.2 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.4125, allocations: 101 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.4126, allocations: 184.2 kB / 1.298 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.4126, allocations: 109 kB / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.768e-05/0.4127, allocations: 99.27 kB / 1.299 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4127, allocations: 0 / 1.299 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007489/0.4135, allocations: 295 kB / 1.299 GB, free: 12.08 MB / 0.9981 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.001077/0.4145, allocations: 0.5543 MB / 1.299 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.4147, allocations: 37.64 kB / 1.3 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4147, allocations: 0 / 1.3 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.4147, allocations: 0 / 1.3 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.4151, allocations: 461.4 kB / 1.3 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.4155, allocations: 282 kB / 1.3 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.888e-05/0.4156, allocations: 67.53 kB / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.4156, allocations: 11.44 kB / 1.3 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.4156, allocations: 0 / 1.3 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of Templates: time 0.008517/0.4241, allocations: 4.932 MB / 1.305 GB, free: 5.688 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.840669986791909]