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.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.001399/0.001399, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001543/0.001543, allocations: 221 kB / 23 MB, free: 4.918 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.849/2.849, allocations: 476 MB / 0.7707 GB, free: 4.703 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002126/0.002126, allocations: 65.73 kB / 1.118 GB, free: 41.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4104, allocations: 170 MB / 1.284 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003029/0.4135, allocations: 1.437 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004811/0.4183, allocations: 2.64 MB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.4183, allocations: 3.938 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.4184, allocations: 7.922 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.4184, allocations: 15.86 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.4229, allocations: 1.612 MB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.423, allocations: 39.73 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.423, allocations: 4 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.423, allocations: 19.88 kB / 1.29 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.241e-05/0.4231, allocations: 15.92 kB / 1.29 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.4231, allocations: 4 kB / 1.29 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.4254, allocations: 1.439 MB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.4255, allocations: 11.92 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.4255, allocations: 11.94 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.427, allocations: 1.079 MB / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.427, allocations: 3.984 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.966e-06/0.427, allocations: 0 / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.427, allocations: 0 / 1.292 GB, free: 3.48 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.0006646/0.4277, allocations: 472 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4277, allocations: 12.03 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.854e-05/0.4278, allocations: 84.17 kB / 1.293 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.428, allocations: 185.8 kB / 1.293 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.4281, allocations: 158.9 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.4281, allocations: 150.9 kB / 1.293 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.519e-05/0.4282, allocations: 109.1 kB / 1.293 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/0.4283, allocations: 75.28 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.4283, allocations: 154.6 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.651e-05/0.4284, allocations: 154.5 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.4285, allocations: 154.5 kB / 1.294 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.4288, allocations: 413.5 kB / 1.294 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.4289, allocations: 177.1 kB / 1.294 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.429, allocations: 80.14 kB / 1.294 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.429, allocations: 75.28 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.429, allocations: 113.8 kB / 1.294 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.429, allocations: 0 / 1.294 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.879e-05/0.4291, allocations: 41.58 kB / 1.295 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.4292, allocations: 126.7 kB / 1.295 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.4294, allocations: 128.5 kB / 1.295 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.4294, allocations: 29.7 kB / 1.295 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.4294, allocations: 88.14 kB / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.4295, allocations: 4 kB / 1.295 GB, free: 408 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.4295, allocations: 21.7 kB / 1.295 GB, free: 380 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4296, allocations: 314.8 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.4297, allocations: 4 kB / 1.295 GB, free: 52 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.4297, allocations: 8 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.4297, allocations: 16.78 kB / 1.295 GB, free: 24 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4297, allocations: 0 / 1.295 GB, free: 24 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001511/0.4299, allocations: 45.7 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4299, allocations: 11.94 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.4299, allocations: 3.984 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4299, allocations: 0 / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.4299, allocations: 12 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4299, allocations: 0 / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.43, allocations: 3.984 kB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.43, allocations: 4 kB / 1.295 GB, free: 15.94 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.0001368/0.4301, allocations: 185.1 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.4302, allocations: 116.8 kB / 1.296 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/0.4302, allocations: 108.8 kB / 1.296 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.56e-05/0.4303, allocations: 192.2 kB / 1.296 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.949e-05/0.4304, allocations: 176.3 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.978e-05/0.4305, allocations: 176.3 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.4307, allocations: 372.8 kB / 1.297 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/0.4308, allocations: 101 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.4308, allocations: 108.9 kB / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.363e-05/0.4309, allocations: 180.2 kB / 1.297 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.431, allocations: 180.2 kB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.192e-05/0.4311, allocations: 184.2 kB / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.628e-05/0.4312, allocations: 176.3 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.4313, allocations: 315.7 kB / 1.298 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.4314, allocations: 104.9 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.4315, allocations: 192.1 kB / 1.298 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.4316, allocations: 105 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.4317, allocations: 184.2 kB / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.4318, allocations: 109 kB / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.542e-05/0.4318, allocations: 95.27 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4318, allocations: 0 / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007662/0.4326, allocations: 295 kB / 1.299 GB, free: 12.17 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.001079/0.4337, allocations: 0.5266 MB / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4338, allocations: 45.64 kB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4338, allocations: 0 / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.4338, allocations: 0 / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.4343, allocations: 469.4 kB / 1.3 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.4346, allocations: 266.2 kB / 1.3 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.562e-05/0.4347, allocations: 67.33 kB / 1.3 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.4347, allocations: 15.5 kB / 1.3 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.4347, allocations: 0 / 1.3 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.009437/0.4442, allocations: 4.819 MB / 1.305 GB, free: 5.922 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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: 13.23006699886173]