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.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.0008973/0.0008973, 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.000815/0.000815, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8969/0.8969, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.661/1.661, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.9518 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.242e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001974/0.002006, allocations: 1.45 MB / 0.9532 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003441/0.005447, allocations: 2.685 MB / 0.9559 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.005485, allocations: 0 / 0.9559 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.005509, allocations: 7.922 kB / 0.9559 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.005571, allocations: 11.86 kB / 0.9559 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.008125, allocations: 1.647 MB / 0.9575 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.008228, allocations: 43.67 kB / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.00828, allocations: 4 kB / 0.9575 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.162e-05/0.008331, allocations: 23.92 kB / 0.9576 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.707e-05/0.008358, allocations: 11.97 kB / 0.9576 GB, free: 13 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.008376, allocations: 8 kB / 0.9576 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.009913, allocations: 1.481 MB / 0.959 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.009937, allocations: 15.92 kB / 0.959 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.009963, allocations: 8 kB / 0.959 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.01115, allocations: 1.267 MB / 0.9603 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01116, allocations: 0 / 0.9603 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.224e-06/0.01116, allocations: 0 / 0.9603 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.01116, allocations: 0 / 0.9603 GB, free: 10.21 MB / 0.9167 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.0005283/0.01169, allocations: 480 kB / 0.9607 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.01175, allocations: 16.03 kB / 0.9608 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.01182, allocations: 76.22 kB / 0.9608 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.01209, allocations: 193 kB / 0.961 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.01214, allocations: 150.9 kB / 0.9612 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.01219, allocations: 154.9 kB / 0.9613 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.074e-05/0.01226, allocations: 105.5 kB / 0.9614 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.01229, allocations: 79.47 kB / 0.9615 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.01234, allocations: 154.7 kB / 0.9616 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.01238, allocations: 150.6 kB / 0.9618 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.506e-05/0.01243, allocations: 158.5 kB / 0.9619 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.01267, allocations: 417.6 kB / 0.9623 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.01275, allocations: 173.1 kB / 0.9625 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.01278, allocations: 80.14 kB / 0.9626 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.0128, allocations: 75.28 kB / 0.9626 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.01285, allocations: 113.8 kB / 0.9627 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.01285, allocations: 0 / 0.9627 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 8.312e-05/0.01293, allocations: 37.64 kB / 0.9628 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.013, allocations: 134.6 kB / 0.9629 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.01315, allocations: 136.9 kB / 0.963 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.01317, allocations: 25.7 kB / 0.9631 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.01322, allocations: 92.14 kB / 0.9631 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.01322, allocations: 4 kB / 0.9631 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.01325, allocations: 17.7 kB / 0.9632 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.01334, allocations: 322.8 kB / 0.9635 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.01337, allocations: 4 kB / 0.9635 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.01339, allocations: 11.98 kB / 0.9635 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.01343, allocations: 8.859 kB / 0.9635 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.01343, allocations: 0 / 0.9635 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001329/0.01356, allocations: 53.59 kB / 0.9635 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01358, allocations: 4 kB / 0.9636 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.01361, allocations: 4 kB / 0.9636 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.01362, allocations: 8 kB / 0.9636 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-06/0.01363, allocations: 3.984 kB / 0.9636 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01363, allocations: 0 / 0.9636 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.01365, allocations: 8.062 kB / 0.9636 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.01366, allocations: 0 / 0.9636 GB, free: 6.648 MB / 0.9167 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 8.564e-05/0.01375, allocations: 189.1 kB / 0.9638 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.01379, allocations: 104.9 kB / 0.9639 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.01383, allocations: 116.5 kB / 0.964 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/0.01388, allocations: 184.2 kB / 0.9641 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.298e-05/0.01394, allocations: 184.3 kB / 0.9643 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.887e-05/0.01399, allocations: 184.2 kB / 0.9645 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.01415, allocations: 360.9 kB / 0.9648 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/0.01417, allocations: 104.9 kB / 0.9649 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.0142, allocations: 105 kB / 0.965 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.01426, allocations: 184.3 kB / 0.9652 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.0143, allocations: 180.2 kB / 0.9654 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.152e-05/0.01434, allocations: 180.3 kB / 0.9656 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.641e-05/0.01439, allocations: 188.1 kB / 0.9657 GB, free: 4.305 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.01451, allocations: 311.7 kB / 0.966 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.01455, allocations: 108.9 kB / 0.9661 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.0146, allocations: 184.2 kB / 0.9663 GB, free: 3.676 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.01466, allocations: 109.2 kB / 0.9664 GB, free: 3.562 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.01471, allocations: 184.2 kB / 0.9666 GB, free: 3.375 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.01474, allocations: 113 kB / 0.9667 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.0148, allocations: 99.27 kB / 0.9668 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.0148, allocations: 0 / 0.9668 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004771/0.01527, allocations: 298.9 kB / 0.9671 GB, free: 2.863 MB / 0.9167 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.0009103/0.01618, allocations: 0.592 MB / 0.9677 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.01631, allocations: 37.7 kB / 0.9677 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01631, allocations: 0 / 0.9677 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.01632, allocations: 4 kB / 0.9677 GB, free: 2.219 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01665, allocations: 463.7 kB / 0.9681 GB, free: 1.762 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.01706, allocations: 257.5 kB / 0.9684 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.01711, allocations: 75.39 kB / 0.9685 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.01712, allocations: 8.5 kB / 0.9685 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.01712, allocations: 0 / 0.9685 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of Templates: time 0.004895/0.02202, allocations: 4.987 MB / 0.9733 GB, free: 12.39 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.380121356807649]