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.InternalResistancesTwoUTube.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.001927/0.001927, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002558/0.002558, allocations: 220.7 kB / 23.01 MB, free: 4.609 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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 3.319/3.319, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 70.41 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4096, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002894/0.4125, allocations: 1.477 MB / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005037/0.4175, allocations: 2.989 MB / 1.359 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.4176, allocations: 4 kB / 1.359 GB, free: 3.422 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.4176, allocations: 7.875 kB / 1.359 GB, free: 3.414 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.4177, allocations: 15.86 kB / 1.359 GB, free: 3.398 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004382/0.4221, allocations: 1.717 MB / 1.36 GB, free: 1.688 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.4222, allocations: 47.67 kB / 1.36 GB, free: 1.641 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.4222, allocations: 7.984 kB / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.4223, allocations: 11.94 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.4223, allocations: 15.94 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.4223, allocations: 0 / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.425, allocations: 1.767 MB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.425, allocations: 7.922 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.425, allocations: 19.88 kB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.4266, allocations: 1.148 MB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4266, allocations: 0 / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4266, allocations: 0 / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4266, allocations: 4 kB / 1.363 GB, free: 14.66 MB / 1.061 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.00064/0.4273, allocations: 476 kB / 1.364 GB, free: 14.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4273, allocations: 16.02 kB / 1.364 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.3e-05/0.4274, allocations: 84.17 kB / 1.364 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.4276, allocations: 193.7 kB / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.46e-05/0.4276, allocations: 150.9 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.4277, allocations: 150.9 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.782e-05/0.4278, allocations: 113 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/0.4278, allocations: 83.22 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/0.4279, allocations: 154.6 kB / 1.365 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.401e-05/0.428, allocations: 150.6 kB / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.428, allocations: 150.6 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.4284, allocations: 433 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.4285, allocations: 173.1 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.4285, allocations: 84.14 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.4285, allocations: 79.27 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.4286, allocations: 109.8 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.4286, allocations: 0 / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.24e-05/0.4287, allocations: 41.66 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.4288, allocations: 126.7 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.4289, allocations: 138.9 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.4289, allocations: 25.7 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.429, allocations: 100.1 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.429, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.429, allocations: 17.77 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4292, allocations: 326.8 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.4292, allocations: 12 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.4292, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.4293, allocations: 16.86 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4293, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001326/0.4294, allocations: 49.64 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4294, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.4294, allocations: 7.984 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4295, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.4295, allocations: 3.938 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4295, allocations: 4.062 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.4295, allocations: 3.953 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.4295, allocations: 4 kB / 1.367 GB, free: 11.05 MB / 1.061 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.0001195/0.4296, allocations: 185.1 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.4297, allocations: 112.9 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.4298, allocations: 112.8 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.7e-05/0.4298, allocations: 184.2 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-05/0.4299, allocations: 180.3 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-05/0.43, allocations: 180.2 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.4302, allocations: 388.2 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.588e-05/0.4303, allocations: 112.8 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.4304, allocations: 101 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.861e-05/0.4304, allocations: 184.3 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.4305, allocations: 184.2 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.216e-05/0.4306, allocations: 176.3 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.99e-05/0.4307, allocations: 188.2 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.4308, allocations: 303.9 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.4309, allocations: 120.8 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.431, allocations: 188.2 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.4311, allocations: 104.9 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.4312, allocations: 176.3 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.4312, allocations: 101 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.546e-05/0.4313, allocations: 104.8 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4313, allocations: 0 / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008228/0.4321, allocations: 299 kB / 1.37 GB, free: 7.242 MB / 1.061 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.00112/0.4332, allocations: 0.5478 MB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.4334, allocations: 46.05 kB / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4334, allocations: 0 / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.4334, allocations: 0 / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.4338, allocations: 467.6 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.4342, allocations: 269.6 kB / 1.371 GB, free: 5.879 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.4345, allocations: 0.6846 MB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.4346, allocations: 7.438 kB / 1.372 GB, free: 5.164 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4346, allocations: 4 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of Templates: time 0.008953/0.4435, allocations: 4.907 MB / 1.377 GB, free: 260 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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: 13.458250966999913]