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.InternalResistancesTwoUTubeNegative.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.0009559/0.0009559, 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.0008891/0.0008891, 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.9166/0.9166, 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 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.734/1.734, allocations: 377.8 MB / 0.6228 GB, free: 8.645 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9823 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.942e-05, allocations: 6.219 kB / 0.9823 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001843/0.001873, allocations: 1.446 MB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003379/0.005252, allocations: 2.68 MB / 0.9863 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.005294, allocations: 4 kB / 0.9863 GB, free: 13.82 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.005317, allocations: 3.938 kB / 0.9863 GB, free: 13.82 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.369e-05/0.00538, allocations: 15.8 kB / 0.9863 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.008099, allocations: 1.654 MB / 0.988 GB, free: 12.17 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.008202, allocations: 43.67 kB / 0.988 GB, free: 12.13 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.008254, allocations: 4 kB / 0.988 GB, free: 12.12 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.907e-05/0.008304, allocations: 19.92 kB / 0.988 GB, free: 12.11 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.775e-05/0.008331, allocations: 15.98 kB / 0.988 GB, free: 12.09 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.008347, allocations: 0 / 0.988 GB, free: 12.09 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.009879, allocations: 1.489 MB / 0.9895 GB, free: 10.6 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.009894, allocations: 4 kB / 0.9895 GB, free: 10.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.009922, allocations: 11.94 kB / 0.9895 GB, free: 10.58 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.01112, allocations: 1.278 MB / 0.9908 GB, free: 9.301 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01113, allocations: 0 / 0.9908 GB, free: 9.301 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.01113, allocations: 0 / 0.9908 GB, free: 9.301 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.01114, allocations: 0 / 0.9908 GB, free: 9.301 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.0004981/0.01163, allocations: 468 kB / 0.9912 GB, free: 8.812 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.01168, allocations: 12.03 kB / 0.9912 GB, free: 8.801 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.01175, allocations: 80.22 kB / 0.9913 GB, free: 8.723 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.01188, allocations: 207.5 kB / 0.9915 GB, free: 8.496 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.01193, allocations: 154.9 kB / 0.9916 GB, free: 8.344 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.01198, allocations: 150.9 kB / 0.9918 GB, free: 8.195 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.658e-05/0.01205, allocations: 109.5 kB / 0.9919 GB, free: 8.082 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.01207, allocations: 75.47 kB / 0.992 GB, free: 8.008 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.01212, allocations: 154.7 kB / 0.9921 GB, free: 7.855 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.01216, allocations: 150.6 kB / 0.9922 GB, free: 7.707 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.01221, allocations: 150.6 kB / 0.9924 GB, free: 7.559 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.01245, allocations: 421.6 kB / 0.9928 GB, free: 7.117 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.381e-05/0.01253, allocations: 173.1 kB / 0.993 GB, free: 6.938 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.01256, allocations: 84.14 kB / 0.993 GB, free: 6.852 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.01259, allocations: 75.28 kB / 0.9931 GB, free: 6.777 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.01263, allocations: 117.8 kB / 0.9932 GB, free: 6.652 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.01263, allocations: 0 / 0.9932 GB, free: 6.652 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.121e-05/0.0127, allocations: 33.66 kB / 0.9933 GB, free: 6.613 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.01276, allocations: 130.6 kB / 0.9934 GB, free: 6.473 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.0129, allocations: 137.5 kB / 0.9935 GB, free: 6.328 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.01291, allocations: 29.64 kB / 0.9935 GB, free: 6.293 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.01296, allocations: 96.06 kB / 0.9936 GB, free: 6.195 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-06/0.01297, allocations: 0 / 0.9936 GB, free: 6.195 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.013, allocations: 21.72 kB / 0.9937 GB, free: 6.168 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.01309, allocations: 318.8 kB / 0.994 GB, free: 5.848 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.01312, allocations: 8 kB / 0.994 GB, free: 5.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.01313, allocations: 4 kB / 0.994 GB, free: 5.836 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.01317, allocations: 12.86 kB / 0.994 GB, free: 5.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01318, allocations: 0 / 0.994 GB, free: 5.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001313/0.01331, allocations: 49.66 kB / 0.994 GB, free: 5.766 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.01332, allocations: 7.984 kB / 0.994 GB, free: 5.758 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.01335, allocations: 4 kB / 0.994 GB, free: 5.754 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.01337, allocations: 3.938 kB / 0.994 GB, free: 5.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.01337, allocations: 0 / 0.994 GB, free: 5.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01337, allocations: 8 kB / 0.994 GB, free: 5.742 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.01339, allocations: 7.938 kB / 0.9941 GB, free: 5.734 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.0134, allocations: 0 / 0.9941 GB, free: 5.734 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 0.0001857/0.01359, allocations: 185.1 kB / 0.9942 GB, free: 5.543 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.01363, allocations: 108.9 kB / 0.9943 GB, free: 5.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.01367, allocations: 112.8 kB / 0.9944 GB, free: 5.316 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.976e-05/0.01372, allocations: 184.1 kB / 0.9946 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/0.01377, allocations: 180.3 kB / 0.9948 GB, free: 4.945 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.795e-05/0.01381, allocations: 184.2 kB / 0.995 GB, free: 4.758 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.01396, allocations: 364.9 kB / 0.9953 GB, free: 4.363 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/0.01399, allocations: 109 kB / 0.9954 GB, free: 4.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.01402, allocations: 108.9 kB / 0.9955 GB, free: 4.137 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.756e-05/0.01407, allocations: 176.3 kB / 0.9957 GB, free: 3.957 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.01412, allocations: 180.3 kB / 0.9959 GB, free: 3.773 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.902e-05/0.01417, allocations: 188.3 kB / 0.996 GB, free: 3.582 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.986e-05/0.01422, allocations: 192.1 kB / 0.9962 GB, free: 3.387 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.01434, allocations: 303.8 kB / 0.9965 GB, free: 3.066 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.01438, allocations: 112.8 kB / 0.9966 GB, free: 2.949 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.01444, allocations: 184.2 kB / 0.9968 GB, free: 2.762 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.0145, allocations: 109.2 kB / 0.9969 GB, free: 2.648 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.01455, allocations: 180.2 kB / 0.9971 GB, free: 2.465 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.01458, allocations: 109 kB / 0.9972 GB, free: 2.352 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.01463, allocations: 97.45 kB / 0.9973 GB, free: 2.258 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.01463, allocations: 0 / 0.9973 GB, free: 2.258 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005045/0.01514, allocations: 299 kB / 0.9976 GB, free: 1.965 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.0009098/0.01605, allocations: 0.5928 MB / 0.9981 GB, free: 1.359 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.01616, allocations: 45.62 kB / 0.9982 GB, free: 1.309 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.01616, allocations: 4 kB / 0.9982 GB, free: 1.305 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.01617, allocations: 0 / 0.9982 GB, free: 1.305 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01648, allocations: 455.7 kB / 0.9986 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.01678, allocations: 257.7 kB / 0.9989 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.653e-05/0.01683, allocations: 71.66 kB / 0.9989 GB, free: 492 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.01684, allocations: 12.5 kB / 0.9989 GB, free: 480 kB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.01684, allocations: 0 / 0.9989 GB, free: 480 kB / 0.948 GB Notification: Performance of Templates: time 0.005033/0.02187, allocations: 4.984 MB / 1.004 GB, free: 11.49 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg1,Rgg2,time,x [Calling sys.exit(0), Time elapsed: 8.467814911156893]