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.InternalResistancesOneUTube.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.002028/0.002028, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.002101/0.002101, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.683/1.683, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.55/3.55, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.8775 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.047e-05/4.295e-05, allocations: 5.625 kB / 0.8776 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.004027/0.00407, allocations: 1.474 MB / 0.879 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.007353/0.01142, allocations: 2.779 MB / 0.8817 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.01149, allocations: 0 / 0.8817 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.01152, allocations: 3.938 kB / 0.8817 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.01164, allocations: 16.97 kB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.006234/0.01787, allocations: 1.633 MB / 0.8833 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.01802, allocations: 55.66 kB / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.01807, allocations: 0 / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.01813, allocations: 15.98 kB / 0.8834 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.01817, allocations: 15.92 kB / 0.8834 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.01819, allocations: 0 / 0.8834 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.02199, allocations: 1.454 MB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.02201, allocations: 8 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.02206, allocations: 15.92 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.02486, allocations: 1.239 MB / 0.8861 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.02487, allocations: 4 kB / 0.8861 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.405e-06/0.02487, allocations: 0 / 0.8861 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.02488, allocations: 0 / 0.8861 GB, free: 13.88 MB / 0.8542 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.0009844/0.02586, allocations: 0.5606 MB / 0.8866 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.02591, allocations: 8.031 kB / 0.8866 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.02606, allocations: 132 kB / 0.8867 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.02632, allocations: 235.7 kB / 0.887 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.02649, allocations: 246.8 kB / 0.8872 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.02667, allocations: 238.8 kB / 0.8874 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.02681, allocations: 145.5 kB / 0.8876 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.994e-05/0.0269, allocations: 119.4 kB / 0.8877 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.02707, allocations: 254.5 kB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.02722, allocations: 242.3 kB / 0.8882 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.02739, allocations: 242.3 kB / 0.8884 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/0.02823, allocations: 0.5798 MB / 0.889 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.02847, allocations: 265.4 kB / 0.8892 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.02857, allocations: 126.9 kB / 0.8893 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.611e-05/0.02865, allocations: 119.2 kB / 0.8894 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.02878, allocations: 156.6 kB / 0.8896 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.02878, allocations: 0 / 0.8896 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001291/0.02891, allocations: 41.58 kB / 0.8896 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.02905, allocations: 178.5 kB / 0.8898 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.02934, allocations: 188.1 kB / 0.89 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.02937, allocations: 29.7 kB / 0.89 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.0295, allocations: 134.9 kB / 0.8901 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.0295, allocations: 0 / 0.8901 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.02956, allocations: 27.36 kB / 0.8902 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003563/0.02992, allocations: 496.1 kB / 0.8906 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.02995, allocations: 4 kB / 0.8906 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.02997, allocations: 8 kB / 0.8906 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.31e-05/0.03004, allocations: 23.64 kB / 0.8907 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.03004, allocations: 0 / 0.8907 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001922/0.03023, allocations: 49.69 kB / 0.8907 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.03025, allocations: 4 kB / 0.8907 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.03028, allocations: 4 kB / 0.8907 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.0303, allocations: 0 / 0.8907 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-06/0.0303, allocations: 3.938 kB / 0.8907 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.03031, allocations: 3.984 kB / 0.8907 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.03034, allocations: 4 kB / 0.8907 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.03036, allocations: 4 kB / 0.8907 GB, free: 8.863 MB / 0.8542 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.0002362/0.03059, allocations: 279.8 kB / 0.891 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.03074, allocations: 156.8 kB / 0.8912 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.03086, allocations: 152.7 kB / 0.8913 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001835/0.03104, allocations: 272.1 kB / 0.8916 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001897/0.03123, allocations: 276 kB / 0.8918 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001843/0.03142, allocations: 268.1 kB / 0.8921 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.0319, allocations: 0.492 MB / 0.8926 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/0.032, allocations: 149 kB / 0.8927 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.03211, allocations: 152.8 kB / 0.8928 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.03231, allocations: 276 kB / 0.8931 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/0.03251, allocations: 272.1 kB / 0.8934 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001844/0.0327, allocations: 268 kB / 0.8936 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001851/0.03288, allocations: 264.1 kB / 0.8939 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.03327, allocations: 463.8 kB / 0.8943 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.0334, allocations: 152.8 kB / 0.8945 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.03361, allocations: 268 kB / 0.8947 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.03377, allocations: 144.9 kB / 0.8949 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.03398, allocations: 279.9 kB / 0.8951 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.03409, allocations: 144.9 kB / 0.8953 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001509/0.03424, allocations: 143.2 kB / 0.8954 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03424, allocations: 0 / 0.8954 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001394/0.03563, allocations: 287 kB / 0.8957 GB, free: 3.605 MB / 0.8542 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.001987/0.03762, allocations: 0.6143 MB / 0.8963 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.03778, allocations: 49.38 kB / 0.8963 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03778, allocations: 0 / 0.8963 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-06/0.03778, allocations: 3.938 kB / 0.8963 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.03864, allocations: 0.7085 MB / 0.897 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.03918, allocations: 281.2 kB / 0.8973 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.03928, allocations: 71.19 kB / 0.8974 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.0393, allocations: 0 / 0.8974 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.03932, allocations: 12.5 kB / 0.8974 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.03933, allocations: 0 / 0.8974 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of Templates: time 0.01688/0.0562, allocations: 5.806 MB / 0.903 GB, free: 12.05 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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: 9.34521009994205]