Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001573/0.001573, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001023/0.001023, allocations: 173.7 kB / 23.28 MB, free: 1.219 MB / 18.57 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.9786/0.9786, allocations: 177.2 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.325/2.325, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8898 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.768e-05, allocations: 2.312 kB / 0.8899 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.0018/0.001818, allocations: 1.499 MB / 0.8913 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.005024, allocations: 2.735 MB / 0.894 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.005061, allocations: 0 / 0.894 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.005081, allocations: 7.938 kB / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.005137, allocations: 15.84 kB / 0.894 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.007537, allocations: 1.607 MB / 0.8956 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.007615, allocations: 47.67 kB / 0.8956 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.007655, allocations: 0 / 0.8956 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.007701, allocations: 19.98 kB / 0.8956 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.483e-05/0.007726, allocations: 15.92 kB / 0.8957 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.007739, allocations: 0 / 0.8957 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.009199, allocations: 1.454 MB / 0.8971 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.009211, allocations: 7.984 kB / 0.8971 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.009232, allocations: 11.94 kB / 0.8971 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.01034, allocations: 1.262 MB / 0.8983 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01034, allocations: 0 / 0.8983 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.21e-07/0.01034, allocations: 0 / 0.8983 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.01034, allocations: 0 / 0.8983 GB, free: 0.9023 MB / 0.8542 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.0004544/0.0108, allocations: 0.5527 MB / 0.8989 GB, free: 320 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.01084, allocations: 8.625 kB / 0.8989 GB, free: 312 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.01091, allocations: 132 kB / 0.899 GB, free: 180 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.01104, allocations: 245.9 kB / 0.8992 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.01111, allocations: 246.8 kB / 0.8995 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.01117, allocations: 238.8 kB / 0.8997 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.816e-05/0.01123, allocations: 149.5 kB / 0.8998 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.01126, allocations: 119.4 kB / 0.9 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.939e-05/0.01132, allocations: 246.5 kB / 0.9002 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.739e-05/0.01138, allocations: 238.4 kB / 0.9004 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.01145, allocations: 242.3 kB / 0.9007 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.01169, allocations: 0.5608 MB / 0.9012 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/0.01177, allocations: 265.4 kB / 0.9015 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.01181, allocations: 130.8 kB / 0.9016 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.01185, allocations: 123.2 kB / 0.9017 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.488e-05/0.01192, allocations: 156.6 kB / 0.9018 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.01192, allocations: 0 / 0.9018 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.449e-05/0.01198, allocations: 41.59 kB / 0.9019 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.01204, allocations: 174.6 kB / 0.902 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.01214, allocations: 185.8 kB / 0.9022 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.01215, allocations: 29.7 kB / 0.9023 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.0122, allocations: 138.8 kB / 0.9024 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.0122, allocations: 0 / 0.9024 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.01223, allocations: 35.34 kB / 0.9024 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.01235, allocations: 492.1 kB / 0.9029 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.01237, allocations: 4 kB / 0.9029 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.01237, allocations: 4 kB / 0.9029 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.01241, allocations: 19.61 kB / 0.9029 GB, free: 12 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01241, allocations: 0 / 0.9029 GB, free: 12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.041e-05/0.01249, allocations: 37.7 kB / 0.903 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.0125, allocations: 8 kB / 0.903 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.01252, allocations: 0 / 0.903 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.01253, allocations: 0 / 0.903 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-06/0.01254, allocations: 4 kB / 0.903 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.01254, allocations: 3.938 kB / 0.903 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.01255, allocations: 7.891 kB / 0.903 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.01256, allocations: 8.094 kB / 0.903 GB, free: 11.93 MB / 0.8698 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 9.298e-05/0.01265, allocations: 279.8 kB / 0.9032 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.0127, allocations: 156.9 kB / 0.9034 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.01275, allocations: 156.7 kB / 0.9035 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/0.01282, allocations: 264.1 kB / 0.9038 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.178e-05/0.01288, allocations: 276 kB / 0.9041 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.114e-05/0.01294, allocations: 268 kB / 0.9043 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.01311, allocations: 492.4 kB / 0.9048 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/0.01315, allocations: 144.9 kB / 0.9049 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.01318, allocations: 148.9 kB / 0.9051 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.203e-05/0.01324, allocations: 272 kB / 0.9053 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.0133, allocations: 268.1 kB / 0.9056 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-05/0.01337, allocations: 268 kB / 0.9058 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.07e-05/0.01343, allocations: 272 kB / 0.9061 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.01357, allocations: 451.9 kB / 0.9065 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.01362, allocations: 160.8 kB / 0.9067 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.01369, allocations: 272 kB / 0.9069 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.974e-05/0.01375, allocations: 144.9 kB / 0.9071 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.01381, allocations: 272 kB / 0.9073 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.01384, allocations: 144.9 kB / 0.9075 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.01389, allocations: 145.1 kB / 0.9076 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01389, allocations: 4 kB / 0.9076 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004366/0.01433, allocations: 295 kB / 0.9079 GB, free: 6.691 MB / 0.8698 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.0006842/0.01502, allocations: 0.6278 MB / 0.9085 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.154e-05/0.01509, allocations: 37.39 kB / 0.9086 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01509, allocations: 0 / 0.9086 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.01509, allocations: 3.938 kB / 0.9086 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.01543, allocations: 0.7218 MB / 0.9093 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.0157, allocations: 278.4 kB / 0.9095 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.01573, allocations: 55.34 kB / 0.9096 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.959e-06/0.01574, allocations: 4 kB / 0.9096 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.01578, allocations: 78.2 kB / 0.9097 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/0.01578, allocations: 4 kB / 0.9097 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of Templates: time 0.008211/0.02399, allocations: 7.164 MB / 0.9167 GB, free: 13.71 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.466982276178896]