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.InternalResistancesOneUTubeNegative.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.001213/0.001213, allocations: 76.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.001203/0.001203, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.9783/0.9783, allocations: 177.2 MB / 203.5 MB, free: 5.758 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.783/1.783, allocations: 377.8 MB / 0.6228 GB, free: 8.656 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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.9823 GB, free: 2 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.599e-05/3.739e-05, allocations: 4.953 kB / 0.9823 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002251/0.002289, allocations: 1.445 MB / 0.9837 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.005673, allocations: 2.637 MB / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.005733, allocations: 3.938 kB / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.005761, allocations: 7.922 kB / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.005827, allocations: 11.88 kB / 0.9863 GB, free: 13.87 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.009267, allocations: 1.618 MB / 0.9879 GB, free: 12.27 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.009388, allocations: 47.67 kB / 0.9879 GB, free: 12.22 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.009438, allocations: 0 / 0.9879 GB, free: 12.22 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.009488, allocations: 15.98 kB / 0.9879 GB, free: 12.2 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.922e-05/0.009517, allocations: 19.92 kB / 0.988 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.009533, allocations: 4 kB / 0.988 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.01158, allocations: 1.454 MB / 0.9894 GB, free: 10.72 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.0116, allocations: 3.984 kB / 0.9894 GB, free: 10.72 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.01165, allocations: 15.94 kB / 0.9894 GB, free: 10.7 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.01321, allocations: 1.235 MB / 0.9906 GB, free: 9.465 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01321, allocations: 0 / 0.9906 GB, free: 9.465 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/0.01322, allocations: 0 / 0.9906 GB, free: 9.465 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.01322, allocations: 0 / 0.9906 GB, free: 9.465 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.0005304/0.01375, allocations: 472 kB / 0.9911 GB, free: 8.973 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.01381, allocations: 12.03 kB / 0.9911 GB, free: 8.961 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.01388, allocations: 84.17 kB / 0.9912 GB, free: 8.879 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.014, allocations: 192.9 kB / 0.9913 GB, free: 8.664 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.01404, allocations: 154.9 kB / 0.9915 GB, free: 8.512 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.01409, allocations: 150.9 kB / 0.9916 GB, free: 8.363 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.55e-05/0.01415, allocations: 101.5 kB / 0.9917 GB, free: 8.258 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.01418, allocations: 79.41 kB / 0.9918 GB, free: 8.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.01422, allocations: 158.7 kB / 0.9919 GB, free: 8.023 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.01427, allocations: 158.6 kB / 0.9921 GB, free: 7.867 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.01431, allocations: 150.6 kB / 0.9922 GB, free: 7.719 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.01454, allocations: 413.5 kB / 0.9926 GB, free: 7.285 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.655e-05/0.01462, allocations: 181.2 kB / 0.9928 GB, free: 7.098 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.01464, allocations: 84.08 kB / 0.9929 GB, free: 7.012 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.01467, allocations: 79.22 kB / 0.993 GB, free: 6.934 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.0147, allocations: 105.8 kB / 0.9931 GB, free: 6.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.844e-06/0.01471, allocations: 4 kB / 0.9931 GB, free: 6.816 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.486e-05/0.01478, allocations: 25.7 kB / 0.9931 GB, free: 6.785 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.01483, allocations: 130.6 kB / 0.9932 GB, free: 6.645 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01497, allocations: 133.8 kB / 0.9933 GB, free: 6.504 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.01499, allocations: 25.7 kB / 0.9934 GB, free: 6.473 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.01503, allocations: 92.08 kB / 0.9935 GB, free: 6.379 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.01503, allocations: 4 kB / 0.9935 GB, free: 6.375 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.01507, allocations: 21.72 kB / 0.9935 GB, free: 6.348 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.01515, allocations: 314.8 kB / 0.9938 GB, free: 6.031 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.87e-05/0.01518, allocations: 11.94 kB / 0.9938 GB, free: 6.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.0152, allocations: 4 kB / 0.9938 GB, free: 6.016 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.01524, allocations: 12.86 kB / 0.9938 GB, free: 6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01524, allocations: 0 / 0.9938 GB, free: 6 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.01536, allocations: 45.62 kB / 0.9939 GB, free: 5.949 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01537, allocations: 10.34 kB / 0.9939 GB, free: 5.941 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.01539, allocations: 0 / 0.9939 GB, free: 5.941 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01541, allocations: 12 kB / 0.9939 GB, free: 5.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.01541, allocations: 0 / 0.9939 GB, free: 5.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01542, allocations: 0 / 0.9939 GB, free: 5.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.01544, allocations: 3.953 kB / 0.9939 GB, free: 5.926 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.01544, allocations: 0 / 0.9939 GB, free: 5.926 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 8.996e-05/0.01553, allocations: 197 kB / 0.9941 GB, free: 5.723 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.01557, allocations: 109 kB / 0.9942 GB, free: 5.609 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.01561, allocations: 108.8 kB / 0.9943 GB, free: 5.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/0.01566, allocations: 188.1 kB / 0.9945 GB, free: 5.309 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.259e-05/0.01571, allocations: 176.3 kB / 0.9946 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.454e-05/0.01575, allocations: 188.2 kB / 0.9948 GB, free: 4.938 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.01589, allocations: 364.9 kB / 0.9952 GB, free: 4.543 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/0.01591, allocations: 101 kB / 0.9952 GB, free: 4.438 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.01594, allocations: 108.9 kB / 0.9954 GB, free: 4.324 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.421e-05/0.01598, allocations: 176.3 kB / 0.9955 GB, free: 4.145 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.01603, allocations: 184.2 kB / 0.9957 GB, free: 3.957 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.686e-05/0.01607, allocations: 184.2 kB / 0.9959 GB, free: 3.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.657e-05/0.01612, allocations: 184.2 kB / 0.996 GB, free: 3.582 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.01624, allocations: 311.7 kB / 0.9963 GB, free: 3.254 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.01628, allocations: 116.9 kB / 0.9965 GB, free: 3.133 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.01641, allocations: 180.3 kB / 0.9966 GB, free: 2.949 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.01646, allocations: 105.3 kB / 0.9967 GB, free: 2.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.01651, allocations: 188.1 kB / 0.9969 GB, free: 2.648 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.01654, allocations: 105 kB / 0.997 GB, free: 2.539 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.831e-05/0.01661, allocations: 99.25 kB / 0.9971 GB, free: 2.441 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01661, allocations: 0 / 0.9971 GB, free: 2.441 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005898/0.0172, allocations: 291 kB / 0.9974 GB, free: 2.156 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.0009557/0.01815, allocations: 0.5741 MB / 0.9979 GB, free: 1.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.01827, allocations: 41.64 kB / 0.998 GB, free: 1.523 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01827, allocations: 0 / 0.998 GB, free: 1.523 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.01827, allocations: 0 / 0.998 GB, free: 1.523 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.01859, allocations: 465.6 kB / 0.9984 GB, free: 1.066 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.01893, allocations: 261.5 kB / 0.9987 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.444e-05/0.01898, allocations: 67.33 kB / 0.9987 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.019, allocations: 12.56 kB / 0.9988 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/0.019, allocations: 0 / 0.9988 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of Templates: time 0.006461/0.02546, allocations: 4.873 MB / 1.004 GB, free: 11.81 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg,time,x [Calling sys.exit(0), Time elapsed: 8.128632272593677]