Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008955/0.0008955, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.000916/0.000916, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9084/0.9084, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.715/1.715, allocations: 359 MB / 0.6055 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7872 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.761e-05, allocations: 10.11 kB / 0.7872 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002585/0.002613, allocations: 1.421 MB / 0.7886 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.004279, allocations: 1.089 MB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.004309, allocations: 1.531 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.00433, allocations: 3.938 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.004375, allocations: 3.938 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.00501, allocations: 235.8 kB / 0.7899 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.005078, allocations: 31.86 kB / 0.7899 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.005116, allocations: 3.938 kB / 0.7899 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.005238, allocations: 19.98 kB / 0.7899 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.005294, allocations: 7.984 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.005308, allocations: 4 kB / 0.7899 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005899/0.005898, allocations: 415.3 kB / 0.7903 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.005909, allocations: 3.938 kB / 0.7903 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.005932, allocations: 4.938 kB / 0.7903 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.006294, allocations: 251.3 kB / 0.7906 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.006297, allocations: 4.531 kB / 0.7906 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006298, allocations: 0 / 0.7906 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.006302, allocations: 0.7188 kB / 0.7906 GB, free: 9.27 MB / 0.7448 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.0004305/0.006733, allocations: 421.4 kB / 0.791 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.006772, allocations: 8.031 kB / 0.791 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.006814, allocations: 8.891 kB / 0.791 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.006912, allocations: 108.6 kB / 0.7911 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.006924, allocations: 5 kB / 0.7911 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.006933, allocations: 384 / 0.7911 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.007024, allocations: 43.23 kB / 0.7912 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.007031, allocations: 192 / 0.7912 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.00704, allocations: 384 / 0.7912 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.007048, allocations: 8.688 kB / 0.7912 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/0.007084, allocations: 7.984 kB / 0.7912 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.007224, allocations: 117.3 kB / 0.7913 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.007308, allocations: 48.34 kB / 0.7913 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.007343, allocations: 11.72 kB / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.007772, allocations: 103.5 kB / 0.7914 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.007799, allocations: 33.39 kB / 0.7915 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.0078, allocations: 0 / 0.7915 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001563/0.007956, allocations: 60.2 kB / 0.7915 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.007987, allocations: 55.34 kB / 0.7916 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.008072, allocations: 165.9 kB / 0.7917 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.008086, allocations: 33.7 kB / 0.7918 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.008138, allocations: 130.9 kB / 0.7919 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.008167, allocations: 15.84 kB / 0.7919 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.008201, allocations: 19.38 kB / 0.7919 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.008335, allocations: 0.49 MB / 0.7924 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.008355, allocations: 7.984 kB / 0.7924 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.008368, allocations: 0 / 0.7924 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.008412, allocations: 19.69 kB / 0.7924 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.008414, allocations: 0.5 kB / 0.7924 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.006e-05/0.008494, allocations: 54.19 kB / 0.7925 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.008506, allocations: 4 kB / 0.7925 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.00851, allocations: 1.5 kB / 0.7925 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.008521, allocations: 0 / 0.7925 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.008617, allocations: 15.98 kB / 0.7925 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.008624, allocations: 7.938 kB / 0.7925 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.872e-05/0.008643, allocations: 0.5625 kB / 0.7925 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.008649, allocations: 2.344 kB / 0.7925 GB, free: 7.105 MB / 0.7448 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 6.869e-05/0.008718, allocations: 152.6 kB / 0.7927 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.00873, allocations: 11.95 kB / 0.7927 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.00884, allocations: 61.98 kB / 0.7927 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008842, allocations: 3.938 kB / 0.7927 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.008846, allocations: 4.438 kB / 0.7927 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008849, allocations: 1.031 kB / 0.7927 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.435e-05/0.008933, allocations: 120.6 kB / 0.7929 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.008934, allocations: 0 / 0.7929 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.008989, allocations: 16.89 kB / 0.7929 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008991, allocations: 0 / 0.7929 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.008999, allocations: 4.844 kB / 0.7929 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.009, allocations: 0 / 0.7929 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.009001, allocations: 3.938 kB / 0.7929 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.873e-05/0.00909, allocations: 89.23 kB / 0.793 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.009098, allocations: 12 kB / 0.793 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.009109, allocations: 3.812 kB / 0.793 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.009126, allocations: 3.984 kB / 0.793 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.009143, allocations: 4 kB / 0.793 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.009147, allocations: 7.875 kB / 0.793 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.009194, allocations: 135.2 kB / 0.7931 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009194, allocations: 0 / 0.7931 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002628/0.009457, allocations: 47.8 kB / 0.7932 GB, free: 6.367 MB / 0.7448 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.0002209/0.009678, allocations: 167 kB / 0.7933 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.52e-05/0.009763, allocations: 19.67 kB / 0.7933 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.009765, allocations: 1.156 kB / 0.7933 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.00979, allocations: 27.61 kB / 0.7934 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.009967, allocations: 5.703 kB / 0.7934 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.01025, allocations: 136.5 kB / 0.7935 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.01029, allocations: 59.3 kB / 0.7936 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.01032, allocations: 7.688 kB / 0.7936 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.01034, allocations: 12.5 kB / 0.7936 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of SimCode: time 4.3e-07/0.01034, allocations: 0 / 0.7936 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of Templates: time 0.003589/0.01393, allocations: 1.29 MB / 0.7948 GB, free: 4.66 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6766906711272895]