Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001566/0.001566, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.001782/0.001782, allocations: 163.1 kB / 22.46 MB, free: 5.355 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.521/1.521, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.922/2.922, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.48e-05/3.74e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00319/0.003228, allocations: 1.438 MB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005017/0.008245, allocations: 2.641 MB / 0.9855 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.008286, allocations: 0 / 0.9855 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.008311, allocations: 7.922 kB / 0.9855 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.824e-05/0.008389, allocations: 19.8 kB / 0.9855 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.01296, allocations: 1.624 MB / 0.9871 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.01311, allocations: 47.69 kB / 0.9872 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.01316, allocations: 3.984 kB / 0.9872 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.01322, allocations: 19.92 kB / 0.9872 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.245e-05/0.01325, allocations: 8 kB / 0.9872 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.01326, allocations: 0 / 0.9872 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.01613, allocations: 1.458 MB / 0.9886 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.01615, allocations: 7.938 kB / 0.9886 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.01618, allocations: 8 kB / 0.9886 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.01803, allocations: 1.243 MB / 0.9898 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.01804, allocations: 4 kB / 0.9899 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.01804, allocations: 0 / 0.9899 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.01805, allocations: 0 / 0.9899 GB, free: 3.332 MB / 0.9356 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.0007246/0.01877, allocations: 464.1 kB / 0.9903 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.01882, allocations: 8.031 kB / 0.9903 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.0189, allocations: 88.11 kB / 0.9904 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.01918, allocations: 200.8 kB / 0.9906 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-05/0.01927, allocations: 150.9 kB / 0.9907 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.01936, allocations: 154.9 kB / 0.9909 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.343e-05/0.01944, allocations: 105.5 kB / 0.991 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.01948, allocations: 75.47 kB / 0.991 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.812e-05/0.01957, allocations: 158.6 kB / 0.9912 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.264e-05/0.01965, allocations: 154.5 kB / 0.9913 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.01974, allocations: 158.6 kB / 0.9915 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.02009, allocations: 417.5 kB / 0.9919 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.02021, allocations: 169.1 kB / 0.9921 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.02026, allocations: 84.14 kB / 0.9921 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.02032, allocations: 79.22 kB / 0.9922 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.02038, allocations: 105.8 kB / 0.9923 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.02038, allocations: 4 kB / 0.9923 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.326e-05/0.02046, allocations: 29.7 kB / 0.9923 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.02055, allocations: 130.6 kB / 0.9925 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.02071, allocations: 132.3 kB / 0.9926 GB, free: 384 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.02073, allocations: 25.7 kB / 0.9926 GB, free: 352 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.02081, allocations: 96.08 kB / 0.9927 GB, free: 252 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.02081, allocations: 0 / 0.9927 GB, free: 252 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.02085, allocations: 17.72 kB / 0.9927 GB, free: 228 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.02104, allocations: 318.8 kB / 0.993 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.02107, allocations: 8 kB / 0.993 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.767e-05/0.02108, allocations: 3.938 kB / 0.993 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.02113, allocations: 16.89 kB / 0.9931 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.02113, allocations: 0 / 0.9931 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001431/0.02127, allocations: 45.69 kB / 0.9931 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.02129, allocations: 4 kB / 0.9931 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.02131, allocations: 4 kB / 0.9931 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.02133, allocations: 3.938 kB / 0.9931 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.02133, allocations: 3.938 kB / 0.9931 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.02134, allocations: 0 / 0.9931 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.02136, allocations: 7.953 kB / 0.9931 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.02137, allocations: 0 / 0.9931 GB, free: 15.8 MB / 0.9512 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.0001469/0.02152, allocations: 197.1 kB / 0.9933 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.0216, allocations: 104.9 kB / 0.9934 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.94e-05/0.02168, allocations: 116.8 kB / 0.9935 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.401e-05/0.02177, allocations: 184.1 kB / 0.9937 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-05/0.02187, allocations: 180.3 kB / 0.9939 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/0.02197, allocations: 180.3 kB / 0.994 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.02224, allocations: 364.8 kB / 0.9944 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.969e-05/0.0223, allocations: 108.9 kB / 0.9945 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.02236, allocations: 104.9 kB / 0.9946 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.02247, allocations: 180.3 kB / 0.9948 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/0.02256, allocations: 180.3 kB / 0.9949 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-05/0.02266, allocations: 188.2 kB / 0.9951 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.433e-05/0.02275, allocations: 188.2 kB / 0.9953 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.02297, allocations: 303.7 kB / 0.9956 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.02303, allocations: 112.9 kB / 0.9957 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.02315, allocations: 184.2 kB / 0.9959 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.02325, allocations: 105 kB / 0.996 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.02335, allocations: 184.1 kB / 0.9961 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/0.02342, allocations: 101.3 kB / 0.9962 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.296e-05/0.02349, allocations: 101.6 kB / 0.9963 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02349, allocations: 0 / 0.9963 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008654/0.02435, allocations: 291 kB / 0.9966 GB, free: 12.04 MB / 0.9512 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.001363/0.02572, allocations: 0.5719 MB / 0.9972 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.02585, allocations: 37.64 kB / 0.9972 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.02585, allocations: 0 / 0.9972 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.02585, allocations: 0 / 0.9972 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.02639, allocations: 471.7 kB / 0.9977 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.02683, allocations: 231.8 kB / 0.9979 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.734e-05/0.02691, allocations: 63.34 kB / 0.9979 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.02693, allocations: 4.031 kB / 0.9979 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.02696, allocations: 12.5 kB / 0.998 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.02696, allocations: 0 / 0.998 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of Templates: time 0.01219/0.03915, allocations: 5.734 MB / 1.004 GB, free: 4.914 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.887998379766941]