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.ConvectionResistanceCircularPipe.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.001464/0.001464, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001594/0.001594, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.536/1.536, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.945/2.945, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9815 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.372e-05, allocations: 5.094 kB / 0.9815 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002603/0.002636, allocations: 1.369 MB / 0.9829 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.004589, allocations: 1.047 MB / 0.9839 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.00462, allocations: 0 / 0.9839 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.004647, allocations: 3.984 kB / 0.9839 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.004703, allocations: 11.86 kB / 0.9839 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.005406, allocations: 223.1 kB / 0.9841 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.00548, allocations: 31.8 kB / 0.9842 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.005528, allocations: 4 kB / 0.9842 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.005663, allocations: 23.91 kB / 0.9842 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.005728, allocations: 15.92 kB / 0.9842 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.005743, allocations: 0 / 0.9842 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006702/0.006413, allocations: 411.4 kB / 0.9846 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.006426, allocations: 3.984 kB / 0.9846 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.006452, allocations: 8 kB / 0.9846 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.00685, allocations: 247.3 kB / 0.9848 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.006857, allocations: 4 kB / 0.9848 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006858, allocations: 0 / 0.9848 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.006869, allocations: 0 / 0.9848 GB, free: 7.418 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005026/0.007371, allocations: 317.7 kB / 0.9851 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.007411, allocations: 8.031 kB / 0.9852 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.007449, allocations: 4.938 kB / 0.9852 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.007568, allocations: 125.6 kB / 0.9853 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.007578, allocations: 4.375 kB / 0.9853 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.007588, allocations: 4.312 kB / 0.9853 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.007699, allocations: 42.25 kB / 0.9853 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.007707, allocations: 192 / 0.9853 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.007717, allocations: 384 / 0.9853 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.007723, allocations: 3.938 kB / 0.9853 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.007774, allocations: 11.98 kB / 0.9853 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.007949, allocations: 105.3 kB / 0.9854 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.008061, allocations: 46.58 kB / 0.9855 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.008094, allocations: 12.86 kB / 0.9855 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005695/0.008663, allocations: 91.95 kB / 0.9856 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.008696, allocations: 38.56 kB / 0.9856 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.008697, allocations: 0 / 0.9856 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001804/0.008878, allocations: 57.69 kB / 0.9857 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.00892, allocations: 59.28 kB / 0.9857 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.009017, allocations: 105.8 kB / 0.9858 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.009035, allocations: 25.7 kB / 0.9859 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.009087, allocations: 80.14 kB / 0.9859 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.009121, allocations: 15.91 kB / 0.986 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.009162, allocations: 17.7 kB / 0.986 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.009307, allocations: 314.8 kB / 0.9863 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.009329, allocations: 4 kB / 0.9863 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.009348, allocations: 12.17 kB / 0.9863 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.00941, allocations: 28.94 kB / 0.9863 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.009412, allocations: 0 / 0.9863 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.435e-05/0.009506, allocations: 57.58 kB / 0.9864 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.009519, allocations: 4 kB / 0.9864 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.009524, allocations: 0 / 0.9864 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.009539, allocations: 7.938 kB / 0.9864 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.009653, allocations: 8 kB / 0.9864 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.009666, allocations: 7.938 kB / 0.9864 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.009691, allocations: 0 / 0.9864 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.009699, allocations: 3.984 kB / 0.9864 GB, free: 5.652 MB / 0.8887 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.44e-05/0.009783, allocations: 113.8 kB / 0.9865 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.009792, allocations: 0 / 0.9865 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.009931, allocations: 61.69 kB / 0.9866 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.009933, allocations: 3.938 kB / 0.9866 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.009938, allocations: 3.938 kB / 0.9866 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.009941, allocations: 4 kB / 0.9866 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.01005, allocations: 117.1 kB / 0.9867 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01005, allocations: 0 / 0.9867 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.164e-05/0.01014, allocations: 15.98 kB / 0.9867 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.01014, allocations: 4 kB / 0.9867 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.01015, allocations: 4 kB / 0.9867 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01015, allocations: 0 / 0.9867 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01015, allocations: 0 / 0.9867 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.01027, allocations: 77.06 kB / 0.9868 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.01028, allocations: 7.953 kB / 0.9868 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.01029, allocations: 4 kB / 0.9868 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.01032, allocations: 4 kB / 0.9868 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.01034, allocations: 7.984 kB / 0.9868 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.01034, allocations: 3.938 kB / 0.9868 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.01039, allocations: 79.28 kB / 0.9869 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.01039, allocations: 4 kB / 0.9869 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000261/0.01065, allocations: 51.8 kB / 0.9869 GB, free: 5.027 MB / 0.8887 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 (4): * Single equations (assignments): 4 * 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.0002839/0.01093, allocations: 163 kB / 0.9871 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 9.809e-05/0.01103, allocations: 19.98 kB / 0.9871 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01103, allocations: 0 / 0.9871 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.01105, allocations: 8 kB / 0.9871 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.0113, allocations: 8 kB / 0.9871 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.01167, allocations: 143.1 kB / 0.9873 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.01174, allocations: 71.19 kB / 0.9873 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.01177, allocations: 10.84 kB / 0.9873 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.0118, allocations: 12.5 kB / 0.9874 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of SimCode: time 4.91e-07/0.0118, allocations: 0 / 0.9874 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of Templates: time 0.004418/0.01622, allocations: 1.271 MB / 0.9886 GB, free: 3.344 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.396241299808025]