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.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.001091/0.001091, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.001811/0.001811, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9665/0.9665, allocations: 177.1 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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 2.376/2.376, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 GB " [Timeout remaining time 177] 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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.561e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002794/0.00282, allocations: 1.426 MB / 0.8912 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.004976, allocations: 1.075 MB / 0.8923 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.005017, allocations: 0 / 0.8923 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.005051, allocations: 3.938 kB / 0.8923 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.125e-05/0.005123, allocations: 7.922 kB / 0.8923 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.005947, allocations: 235 kB / 0.8925 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.367e-05/0.006031, allocations: 35.8 kB / 0.8925 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.006077, allocations: 7.984 kB / 0.8926 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.006229, allocations: 19.92 kB / 0.8926 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.0063, allocations: 11.92 kB / 0.8926 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.006313, allocations: 4 kB / 0.8926 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006757/0.006989, allocations: 411.4 kB / 0.893 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.007013, allocations: 0 / 0.893 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.007043, allocations: 8 kB / 0.893 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.007523, allocations: 247.3 kB / 0.8932 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.007526, allocations: 0 / 0.8932 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.383e-06/0.007528, allocations: 0 / 0.8932 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.007533, allocations: 4 kB / 0.8932 GB, free: 6.211 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005135/0.008046, allocations: 423.9 kB / 0.8936 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.008095, allocations: 12.56 kB / 0.8936 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.00813, allocations: 8.875 kB / 0.8937 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.008227, allocations: 112.6 kB / 0.8938 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.00824, allocations: 4.375 kB / 0.8938 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.008248, allocations: 384 / 0.8938 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/0.00834, allocations: 38.25 kB / 0.8938 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.008349, allocations: 192 / 0.8938 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.008356, allocations: 4.375 kB / 0.8938 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.008363, allocations: 3.938 kB / 0.8938 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.00839, allocations: 7.984 kB / 0.8938 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.008529, allocations: 93.27 kB / 0.8939 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.008609, allocations: 51.02 kB / 0.894 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.008633, allocations: 11.72 kB / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/0.009086, allocations: 103.5 kB / 0.8941 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.009115, allocations: 33.39 kB / 0.8941 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.009116, allocations: 4 kB / 0.8941 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001558/0.009272, allocations: 53.62 kB / 0.8942 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.009303, allocations: 55.41 kB / 0.8942 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.009395, allocations: 165.8 kB / 0.8944 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.009408, allocations: 29.7 kB / 0.8944 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.009457, allocations: 126.9 kB / 0.8945 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.009495, allocations: 15.84 kB / 0.8945 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.009532, allocations: 27.34 kB / 0.8946 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.009685, allocations: 496.1 kB / 0.895 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.0097, allocations: 0 / 0.895 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.009715, allocations: 7.984 kB / 0.895 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.009756, allocations: 23.97 kB / 0.8951 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.009758, allocations: 0 / 0.8951 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.48e-05/0.009842, allocations: 53.56 kB / 0.8951 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.009858, allocations: 8 kB / 0.8951 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.009864, allocations: 0 / 0.8951 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.009878, allocations: 0 / 0.8951 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.009979, allocations: 12 kB / 0.8951 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.009983, allocations: 0 / 0.8951 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.01, allocations: 3.938 kB / 0.8951 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.01001, allocations: 7.984 kB / 0.8951 GB, free: 4.062 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 (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 9.027e-05/0.0101, allocations: 164.5 kB / 0.8953 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.01011, allocations: 3.953 kB / 0.8953 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.01023, allocations: 64.44 kB / 0.8954 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01023, allocations: 0 / 0.8954 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01023, allocations: 4 kB / 0.8954 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.01024, allocations: 3.938 kB / 0.8954 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.615e-05/0.01034, allocations: 105.2 kB / 0.8955 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01034, allocations: 0 / 0.8955 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.0104, allocations: 12 kB / 0.8955 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01041, allocations: 0 / 0.8955 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.01041, allocations: 3.984 kB / 0.8955 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01041, allocations: 4 kB / 0.8955 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01042, allocations: 0 / 0.8955 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.934e-05/0.01052, allocations: 84.38 kB / 0.8956 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.01053, allocations: 7.953 kB / 0.8956 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.01054, allocations: 0 / 0.8956 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.86e-05/0.01056, allocations: 3.938 kB / 0.8956 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.01057, allocations: 4 kB / 0.8956 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.01058, allocations: 4 kB / 0.8956 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.01063, allocations: 131.2 kB / 0.8957 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01063, allocations: 0 / 0.8957 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002582/0.01089, allocations: 43.81 kB / 0.8958 GB, free: 3.359 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 (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.0002441/0.01113, allocations: 172.4 kB / 0.8959 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.737e-05/0.01122, allocations: 27.61 kB / 0.8959 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01122, allocations: 0 / 0.8959 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.01124, allocations: 19.62 kB / 0.896 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.01142, allocations: 4.703 kB / 0.896 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.01172, allocations: 138.2 kB / 0.8961 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.665e-05/0.01176, allocations: 55.36 kB / 0.8962 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.01179, allocations: 8.312 kB / 0.8962 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.01186, allocations: 74.2 kB / 0.8962 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/0.01186, allocations: 3.938 kB / 0.8962 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of Templates: time 0.004287/0.01615, allocations: 1.466 MB / 0.8977 GB, free: 1.395 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.22095427615568]