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.002476/0.002476, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002861/0.002861, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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 1.666/1.666, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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 3.023/3.023, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 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.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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7865 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.413e-05, allocations: 7.125 kB / 0.7865 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002847/0.002881, allocations: 1.471 MB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00575/0.008631, allocations: 2.785 MB / 0.7906 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.008672, allocations: 0 / 0.7906 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.008694, allocations: 4 kB / 0.7906 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.008777, allocations: 15.8 kB / 0.7906 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004382/0.01316, allocations: 1.619 MB / 0.7922 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.01327, allocations: 44.52 kB / 0.7923 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.01331, allocations: 4 kB / 0.7923 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.01336, allocations: 17.11 kB / 0.7923 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.377e-05/0.01339, allocations: 15.98 kB / 0.7923 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.01341, allocations: 4 kB / 0.7923 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.016, allocations: 1.452 MB / 0.7937 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.01602, allocations: 3.938 kB / 0.7937 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.01605, allocations: 17.52 kB / 0.7937 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.01817, allocations: 1.243 MB / 0.795 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.01818, allocations: 4 kB / 0.795 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.01818, allocations: 0 / 0.795 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.01819, allocations: 2.812 kB / 0.795 GB, free: 4.035 MB / 0.7448 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.0008154/0.019, allocations: 0.5605 MB / 0.7955 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.01905, allocations: 8.031 kB / 0.7955 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.01916, allocations: 128.1 kB / 0.7956 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.01938, allocations: 235.7 kB / 0.7959 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.01952, allocations: 242.8 kB / 0.7961 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.01965, allocations: 238.8 kB / 0.7963 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.02007, allocations: 149.5 kB / 0.7965 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.125e-05/0.02014, allocations: 123.8 kB / 0.7966 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.02029, allocations: 247.7 kB / 0.7968 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.02043, allocations: 238.4 kB / 0.7971 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.02057, allocations: 242.4 kB / 0.7973 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.02104, allocations: 0.5854 MB / 0.7979 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.02122, allocations: 261.4 kB / 0.7981 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.0213, allocations: 130.8 kB / 0.7982 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.646e-05/0.02136, allocations: 123.2 kB / 0.7983 GB, free: 456 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.278e-05/0.02146, allocations: 152.6 kB / 0.7985 GB, free: 292 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.02146, allocations: 1.344 kB / 0.7985 GB, free: 292 kB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.585e-05/0.02155, allocations: 37.69 kB / 0.7985 GB, free: 248 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.02168, allocations: 174.5 kB / 0.7987 GB, free: 60 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.0219, allocations: 196.6 kB / 0.7989 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.02192, allocations: 25.7 kB / 0.7989 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.02202, allocations: 138.9 kB / 0.799 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.02203, allocations: 0.6562 kB / 0.799 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.02207, allocations: 23.36 kB / 0.7991 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002862/0.02236, allocations: 496.8 kB / 0.7995 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.02238, allocations: 11.88 kB / 0.7995 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.0224, allocations: 6.875 kB / 0.7996 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.02246, allocations: 27.67 kB / 0.7996 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.02246, allocations: 0 / 0.7996 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001519/0.02261, allocations: 37.7 kB / 0.7996 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.02263, allocations: 8 kB / 0.7996 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.02265, allocations: 0 / 0.7996 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.02266, allocations: 0 / 0.7996 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.257e-06/0.02267, allocations: 5.969 kB / 0.7996 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.02267, allocations: 4 kB / 0.7996 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.0227, allocations: 7.938 kB / 0.7996 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.0227, allocations: 0 / 0.7996 GB, free: 15.04 MB / 0.7605 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.0001774/0.02288, allocations: 287.8 kB / 0.7999 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.612e-05/0.02298, allocations: 149.8 kB / 0.8001 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.125e-05/0.02307, allocations: 152.7 kB / 0.8002 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001393/0.02321, allocations: 272 kB / 0.8005 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001431/0.02335, allocations: 277.1 kB / 0.8007 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001388/0.02349, allocations: 268 kB / 0.801 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.02385, allocations: 0.4961 MB / 0.8015 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.93e-05/0.02393, allocations: 150 kB / 0.8016 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.02401, allocations: 148.8 kB / 0.8018 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.02415, allocations: 276.1 kB / 0.802 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.02429, allocations: 272 kB / 0.8023 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001372/0.02443, allocations: 268.1 kB / 0.8025 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001395/0.02457, allocations: 264.1 kB / 0.8028 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.02484, allocations: 455.9 kB / 0.8032 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.02494, allocations: 156.8 kB / 0.8034 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.0251, allocations: 268.1 kB / 0.8036 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.02549, allocations: 144.9 kB / 0.8038 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.02564, allocations: 275.9 kB / 0.804 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/0.02572, allocations: 148.9 kB / 0.8042 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001137/0.02583, allocations: 145.4 kB / 0.8043 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02583, allocations: 4 kB / 0.8043 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008961/0.02673, allocations: 291 kB / 0.8046 GB, free: 9.781 MB / 0.7605 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.001268/0.02799, allocations: 0.6088 MB / 0.8052 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.02813, allocations: 53.31 kB / 0.8052 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02813, allocations: 0 / 0.8052 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.02813, allocations: 0 / 0.8052 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.02878, allocations: 0.7141 MB / 0.8059 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.02922, allocations: 285 kB / 0.8062 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.474e-05/0.02931, allocations: 67.34 kB / 0.8063 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.404e-05/0.02932, allocations: 3.938 kB / 0.8063 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.02935, allocations: 8.5 kB / 0.8063 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of SimCode: time 4.91e-07/0.02935, allocations: 0 / 0.8063 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of Templates: time 0.01266/0.042, allocations: 5.814 MB / 0.812 GB, free: 2.223 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.949007470044307]