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.001612/0.001612, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001866/0.001866, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.927/2.927, allocations: 359 MB / 0.6048 GB, free: 10.94 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.713e-06/1.713e-06, allocations: 0 / 0.7865 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.223e-05, allocations: 2.312 kB / 0.7865 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003278/0.00331, allocations: 1.441 MB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005369/0.008679, allocations: 2.639 MB / 0.7905 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.008735, allocations: 0 / 0.7905 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.008774, allocations: 10.58 kB / 0.7905 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.008866, allocations: 15.86 kB / 0.7905 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005022/0.01389, allocations: 1.608 MB / 0.7921 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.014, allocations: 49.28 kB / 0.7921 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.01404, allocations: 0 / 0.7921 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/0.01409, allocations: 19.98 kB / 0.7921 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.265e-05/0.01413, allocations: 15.92 kB / 0.7921 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.01414, allocations: 1 kB / 0.7921 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.01737, allocations: 1.459 MB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.0174, allocations: 4 kB / 0.7936 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.01746, allocations: 12.97 kB / 0.7936 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.02069, allocations: 1.239 MB / 0.7948 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.02069, allocations: 0 / 0.7948 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.02069, allocations: 0.8438 kB / 0.7948 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.02071, allocations: 0 / 0.7948 GB, free: 4.195 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.0009591/0.02167, allocations: 469.6 kB / 0.7952 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.02172, allocations: 12.03 kB / 0.7953 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.02182, allocations: 76.22 kB / 0.7953 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.02201, allocations: 201 kB / 0.7955 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/0.0221, allocations: 151.9 kB / 0.7957 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.653e-05/0.02218, allocations: 154.9 kB / 0.7958 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.02227, allocations: 101.5 kB / 0.7959 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/0.02232, allocations: 81.53 kB / 0.796 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.388e-05/0.0224, allocations: 154.7 kB / 0.7961 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.321e-05/0.02249, allocations: 150.6 kB / 0.7963 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.02257, allocations: 150.6 kB / 0.7964 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.02296, allocations: 421.5 kB / 0.7968 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.02309, allocations: 179.4 kB / 0.797 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.02314, allocations: 84.12 kB / 0.7971 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.02319, allocations: 75.28 kB / 0.7971 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.579e-05/0.02327, allocations: 113.8 kB / 0.7973 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.02327, allocations: 0 / 0.7973 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.679e-05/0.02336, allocations: 29.64 kB / 0.7973 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.02345, allocations: 135.1 kB / 0.7974 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.02365, allocations: 141.9 kB / 0.7975 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.02367, allocations: 25.7 kB / 0.7976 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.02374, allocations: 88.14 kB / 0.7977 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.02374, allocations: 4 kB / 0.7977 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.02378, allocations: 17.7 kB / 0.7977 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.02396, allocations: 316 kB / 0.798 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.02399, allocations: 4 kB / 0.798 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.02401, allocations: 11.98 kB / 0.798 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.02406, allocations: 9.953 kB / 0.798 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.02406, allocations: 0 / 0.798 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001631/0.02422, allocations: 53.67 kB / 0.7981 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.02424, allocations: 4.656 kB / 0.7981 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.02427, allocations: 7.984 kB / 0.7981 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.02429, allocations: 4.438 kB / 0.7981 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.02429, allocations: 0.7812 kB / 0.7981 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.02429, allocations: 0 / 0.7981 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.02432, allocations: 7.266 kB / 0.7981 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.02433, allocations: 4 kB / 0.7981 GB, free: 0.6602 MB / 0.7448 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.0001353/0.02447, allocations: 185.1 kB / 0.7983 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/0.02456, allocations: 108.9 kB / 0.7984 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.425e-05/0.02465, allocations: 116.7 kB / 0.7985 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.823e-05/0.02474, allocations: 184.2 kB / 0.7986 GB, free: 48 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001267/0.02487, allocations: 180.2 kB / 0.7988 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/0.02498, allocations: 180.3 kB / 0.799 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.02528, allocations: 362.5 kB / 0.7993 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.265e-05/0.02534, allocations: 108.9 kB / 0.7994 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.0254, allocations: 105 kB / 0.7995 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.0255, allocations: 180.2 kB / 0.7997 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.02561, allocations: 184.2 kB / 0.7999 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001002/0.02571, allocations: 177.3 kB / 0.8001 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001091/0.02582, allocations: 192.2 kB / 0.8002 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.02602, allocations: 308.8 kB / 0.8005 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.02609, allocations: 108.9 kB / 0.8006 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.0262, allocations: 176.3 kB / 0.8008 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.02631, allocations: 110.3 kB / 0.8009 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.02643, allocations: 188.2 kB / 0.8011 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/0.02649, allocations: 108.9 kB / 0.8012 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.522e-05/0.02658, allocations: 96.61 kB / 0.8013 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02658, allocations: 0 / 0.8013 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009893/0.02757, allocations: 287 kB / 0.8016 GB, free: 12.91 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.001752/0.02932, allocations: 0.5863 MB / 0.8021 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.02946, allocations: 33.7 kB / 0.8022 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02946, allocations: 0 / 0.8022 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.02946, allocations: 0 / 0.8022 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.03, allocations: 463.6 kB / 0.8026 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.03043, allocations: 235.8 kB / 0.8028 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.015e-05/0.03051, allocations: 63.34 kB / 0.8029 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.539e-05/0.03052, allocations: 0 / 0.8029 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.03055, allocations: 8.5 kB / 0.8029 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/0.03055, allocations: 4 kB / 0.8029 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of Templates: time 0.01322/0.04377, allocations: 5.776 MB / 0.8085 GB, free: 5.75 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=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/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.603920897934586]