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.00117/0.00117, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001237/0.001237, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9054/0.9054, allocations: 177.1 MB / 203.5 MB, free: 5.398 MB / 186.7 MB " [Timeout remaining time 179] 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 1.748/1.748, allocations: 377.9 MB / 0.6228 GB, free: 8.613 MB / 0.5886 GB " [Timeout remaining time 178] 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.284e-06/2.284e-06, allocations: 0 / 0.9823 GB, free: 1.953 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.315e-05, allocations: 6.219 kB / 0.9823 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002973/0.003006, allocations: 1.441 MB / 0.9837 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.004242/0.007248, allocations: 2.645 MB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.007311, allocations: 0 / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.00734, allocations: 7.922 kB / 0.9863 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.622e-05/0.007416, allocations: 15.8 kB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.01066, allocations: 1.612 MB / 0.9879 GB, free: 12.21 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.01076, allocations: 43.67 kB / 0.9879 GB, free: 12.17 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.01081, allocations: 4 kB / 0.9879 GB, free: 12.17 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.01085, allocations: 23.92 kB / 0.9879 GB, free: 12.14 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.035e-05/0.01087, allocations: 4 kB / 0.9879 GB, free: 12.14 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.01088, allocations: 4 kB / 0.9879 GB, free: 12.14 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.01279, allocations: 1.454 MB / 0.9894 GB, free: 10.68 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.01281, allocations: 7.938 kB / 0.9894 GB, free: 10.67 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.01285, allocations: 11.98 kB / 0.9894 GB, free: 10.66 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.0147, allocations: 1.247 MB / 0.9906 GB, free: 9.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.0147, allocations: 0 / 0.9906 GB, free: 9.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/0.0147, allocations: 0 / 0.9906 GB, free: 9.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.01471, allocations: 0 / 0.9906 GB, free: 9.41 MB / 0.948 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.0006394/0.01535, allocations: 471 kB / 0.9911 GB, free: 8.922 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.01539, allocations: 8.031 kB / 0.9911 GB, free: 8.914 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.01544, allocations: 84.17 kB / 0.9911 GB, free: 8.832 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.01555, allocations: 199.4 kB / 0.9913 GB, free: 8.613 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.01559, allocations: 154.9 kB / 0.9915 GB, free: 8.461 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.01564, allocations: 158.9 kB / 0.9916 GB, free: 8.305 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.637e-05/0.0157, allocations: 101.5 kB / 0.9917 GB, free: 8.199 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.01572, allocations: 79.47 kB / 0.9918 GB, free: 8.121 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.01576, allocations: 158.7 kB / 0.992 GB, free: 7.965 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.01579, allocations: 150.6 kB / 0.9921 GB, free: 7.816 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.828e-05/0.01583, allocations: 154.6 kB / 0.9922 GB, free: 7.664 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.01604, allocations: 417.5 kB / 0.9926 GB, free: 7.227 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.837e-05/0.01611, allocations: 173.1 kB / 0.9928 GB, free: 7.047 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.01614, allocations: 88.12 kB / 0.9929 GB, free: 6.957 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.01616, allocations: 75.28 kB / 0.993 GB, free: 6.883 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.0162, allocations: 109.8 kB / 0.9931 GB, free: 6.766 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.0162, allocations: 0 / 0.9931 GB, free: 6.766 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.543e-05/0.01627, allocations: 37.64 kB / 0.9931 GB, free: 6.723 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.01632, allocations: 130.6 kB / 0.9932 GB, free: 6.582 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.01644, allocations: 129.8 kB / 0.9934 GB, free: 6.445 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.01645, allocations: 25.7 kB / 0.9934 GB, free: 6.414 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.01649, allocations: 96.09 kB / 0.9935 GB, free: 6.316 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.0165, allocations: 0 / 0.9935 GB, free: 6.316 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.01652, allocations: 17.66 kB / 0.9935 GB, free: 6.293 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.0166, allocations: 322.8 kB / 0.9938 GB, free: 5.969 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.01662, allocations: 0 / 0.9938 GB, free: 5.969 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.453e-05/0.01664, allocations: 8 kB / 0.9938 GB, free: 5.961 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.603e-05/0.01668, allocations: 12.86 kB / 0.9938 GB, free: 5.945 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01668, allocations: 7.969 kB / 0.9938 GB, free: 5.938 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001205/0.0168, allocations: 49.62 kB / 0.9939 GB, free: 5.883 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01681, allocations: 4 kB / 0.9939 GB, free: 5.879 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.01683, allocations: 4 kB / 0.9939 GB, free: 5.875 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01685, allocations: 3.938 kB / 0.9939 GB, free: 5.871 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.01685, allocations: 0 / 0.9939 GB, free: 5.871 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.01685, allocations: 0 / 0.9939 GB, free: 5.871 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.01688, allocations: 7.953 kB / 0.9939 GB, free: 5.863 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.01688, allocations: 0 / 0.9939 GB, free: 5.863 MB / 0.948 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 7.428e-05/0.01696, allocations: 189.1 kB / 0.9941 GB, free: 5.668 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.01699, allocations: 109 kB / 0.9942 GB, free: 5.555 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.01703, allocations: 116.7 kB / 0.9943 GB, free: 5.438 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/0.01707, allocations: 180.2 kB / 0.9945 GB, free: 5.254 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-05/0.01712, allocations: 180.3 kB / 0.9946 GB, free: 5.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.467e-05/0.01716, allocations: 184.2 kB / 0.9948 GB, free: 4.883 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.0173, allocations: 364.9 kB / 0.9952 GB, free: 4.488 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/0.01733, allocations: 104.9 kB / 0.9953 GB, free: 4.379 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.01736, allocations: 101 kB / 0.9953 GB, free: 4.273 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.271e-05/0.0174, allocations: 184.2 kB / 0.9955 GB, free: 4.086 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.01744, allocations: 176.3 kB / 0.9957 GB, free: 3.906 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.916e-05/0.01748, allocations: 180.2 kB / 0.9959 GB, free: 3.723 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.246e-05/0.01752, allocations: 196.2 kB / 0.9961 GB, free: 3.523 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.745e-05/0.01762, allocations: 307.7 kB / 0.9963 GB, free: 3.199 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.01766, allocations: 112.9 kB / 0.9965 GB, free: 3.082 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.01771, allocations: 176.3 kB / 0.9966 GB, free: 2.902 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.01775, allocations: 113.2 kB / 0.9967 GB, free: 2.785 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.0178, allocations: 184.2 kB / 0.9969 GB, free: 2.598 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.01783, allocations: 104.9 kB / 0.997 GB, free: 2.488 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.01788, allocations: 105.6 kB / 0.9971 GB, free: 2.387 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01788, allocations: 0 / 0.9971 GB, free: 2.387 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006718/0.01855, allocations: 283 kB / 0.9974 GB, free: 2.109 MB / 0.948 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.0008723/0.01942, allocations: 0.5748 MB / 0.9979 GB, free: 1.523 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01953, allocations: 37.7 kB / 0.998 GB, free: 1.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.01953, allocations: 0 / 0.998 GB, free: 1.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.01953, allocations: 0 / 0.998 GB, free: 1.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.01983, allocations: 473.8 kB / 0.9984 GB, free: 1.016 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.02014, allocations: 257.6 kB / 0.9987 GB, free: 0.7305 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.253e-05/0.02019, allocations: 67.33 kB / 0.9987 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.02021, allocations: 12.5 kB / 0.9987 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/0.02021, allocations: 0 / 0.9987 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of Templates: time 0.006664/0.02688, allocations: 4.883 MB / 1.004 GB, free: 11.76 MB / 0.9636 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.599694658070803]