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.0008117/0.0008117, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008504/0.0008504, allocations: 177.9 kB / 23.22 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.9264/0.9264, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.849/1.849, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.822e-05, allocations: 8.75 kB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001808/0.001836, allocations: 1.438 MB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.004857, allocations: 2.681 MB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.004892, allocations: 0 / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.004915, allocations: 7.938 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.004972, allocations: 19.8 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.00757, allocations: 1.643 MB / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.007649, allocations: 47.61 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.007686, allocations: 7.906 kB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.007725, allocations: 23.97 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.296e-05/0.007748, allocations: 15.88 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.007761, allocations: 3.938 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.00916, allocations: 1.489 MB / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.009174, allocations: 7.984 kB / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.009198, allocations: 15.94 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.01031, allocations: 1.27 MB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.01031, allocations: 3.938 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.413e-06/0.01031, allocations: 0 / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.01032, allocations: 0 / 1.009 GB, free: 4.227 MB / 0.9636 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.0004656/0.01078, allocations: 472 kB / 1.01 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.01082, allocations: 8.031 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.01087, allocations: 88.17 kB / 1.01 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.01098, allocations: 193 kB / 1.01 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.01102, allocations: 150.9 kB / 1.01 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.01106, allocations: 154.9 kB / 1.01 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.151e-05/0.01111, allocations: 101.5 kB / 1.011 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.01113, allocations: 79.47 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.01117, allocations: 154.7 kB / 1.011 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.01121, allocations: 154.5 kB / 1.011 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.01125, allocations: 158.5 kB / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.01145, allocations: 413.6 kB / 1.012 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.79e-05/0.01152, allocations: 169.2 kB / 1.012 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.01154, allocations: 88.14 kB / 1.012 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.01157, allocations: 75.28 kB / 1.012 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.0116, allocations: 109.8 kB / 1.012 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.0116, allocations: 0 / 1.012 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.38e-05/0.01166, allocations: 33.66 kB / 1.012 GB, free: 1.551 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.01171, allocations: 134.6 kB / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.01182, allocations: 129.8 kB / 1.012 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.01183, allocations: 25.7 kB / 1.012 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.01188, allocations: 92.12 kB / 1.012 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.01188, allocations: 0 / 1.012 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.01191, allocations: 17.72 kB / 1.012 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.01211, allocations: 322.8 kB / 1.013 GB, free: 0.7969 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.01213, allocations: 4 kB / 1.013 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.01215, allocations: 8 kB / 1.013 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.01219, allocations: 20.8 kB / 1.013 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01219, allocations: 0 / 1.013 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001077/0.0123, allocations: 49.64 kB / 1.013 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01231, allocations: 9.875 kB / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.01233, allocations: 0 / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.01234, allocations: 8 kB / 1.013 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.164e-06/0.01234, allocations: 7.938 kB / 1.013 GB, free: 0.6836 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01235, allocations: 4.062 kB / 1.013 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.01237, allocations: 7.891 kB / 1.013 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.01238, allocations: 0 / 1.013 GB, free: 0.6719 MB / 0.9636 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 6.833e-05/0.01244, allocations: 185.1 kB / 1.013 GB, free: 492 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.01248, allocations: 112.9 kB / 1.013 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.01251, allocations: 108.8 kB / 1.013 GB, free: 256 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-05/0.01256, allocations: 184.2 kB / 1.013 GB, free: 64 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-05/0.01261, allocations: 180.2 kB / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-05/0.01265, allocations: 176.3 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.01278, allocations: 368.8 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.0128, allocations: 113 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.01283, allocations: 108.9 kB / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-05/0.01287, allocations: 176.3 kB / 1.014 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.01291, allocations: 176.3 kB / 1.015 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.096e-05/0.01295, allocations: 188.2 kB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-05/0.01299, allocations: 184.2 kB / 1.015 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.369e-05/0.01309, allocations: 311.7 kB / 1.015 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.01312, allocations: 108.9 kB / 1.015 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.01317, allocations: 188.2 kB / 1.015 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.743e-05/0.01322, allocations: 101.3 kB / 1.016 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.01326, allocations: 188.1 kB / 1.016 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.01329, allocations: 113 kB / 1.016 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.01333, allocations: 99.25 kB / 1.016 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01333, allocations: 0 / 1.016 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004439/0.01378, allocations: 295 kB / 1.016 GB, free: 12.9 MB / 0.9792 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.0007824/0.01456, allocations: 0.5946 MB / 1.017 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.179e-05/0.01465, allocations: 37.7 kB / 1.017 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01465, allocations: 0 / 1.017 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-06/0.01465, allocations: 3.938 kB / 1.017 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.01494, allocations: 461.4 kB / 1.017 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.01521, allocations: 249.8 kB / 1.018 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.722e-05/0.01526, allocations: 71.34 kB / 1.018 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.01528, allocations: 12.5 kB / 1.018 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.01528, allocations: 0 / 1.018 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of Templates: time 0.005121/0.0204, allocations: 4.989 MB / 1.023 GB, free: 6.426 MB / 0.9792 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/jenkins/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: 8.570493317209184]