Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009256, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 180.9 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.904/2.904, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004028, allocations: 16 kB / 0.8736 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8343, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001448/0.8358, allocations: 1.09 MB / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.8375, allocations: 1.099 MB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.8375, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.8376, allocations: 4 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.805e-05/0.8376, allocations: 11.92 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.8382, allocations: 155.4 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.8383, allocations: 23.88 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.507e-05/0.8384, allocations: 15.91 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.594e-05/0.8385, allocations: 12 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.8385, allocations: 15.92 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.8385, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006303/0.8392, allocations: 419.5 kB / 1.027 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.8392, allocations: 4 kB / 1.027 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.8393, allocations: 49.44 kB / 1.027 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.8395, allocations: 133.7 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8395, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8395, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8395, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.7794 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.0004319/0.84, allocations: 379.4 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.84, allocations: 16.02 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.8401, allocations: 4.844 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.8402, allocations: 168.4 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.8402, allocations: 384 / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.8402, allocations: 384 / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.8403, allocations: 49.98 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.8403, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.8403, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.8404, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/0.8404, allocations: 15.94 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.8406, allocations: 177.5 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.181e-05/0.8407, allocations: 34.58 kB / 1.028 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.8407, allocations: 20.92 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009374/0.8417, allocations: 0.9856 MB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.8417, allocations: 34.5 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.645e-06/0.8417, allocations: 4 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.8419, allocations: 61.62 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.8419, allocations: 51.41 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.842, allocations: 105.8 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.842, allocations: 25.7 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.8421, allocations: 84.14 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.8421, allocations: 11.81 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.8421, allocations: 13.7 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.8422, allocations: 318.8 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.8423, allocations: 8 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.8423, allocations: 4 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.8423, allocations: 20.84 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8423, allocations: 0 / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.552e-05/0.8424, allocations: 49.64 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8424, allocations: 15.92 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.8425, allocations: 0 / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.8425, allocations: 0 / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.8426, allocations: 12 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.8426, allocations: 0 / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.8426, allocations: 8 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.8426, allocations: 0 / 1.029 GB, free: 9.734 MB / 0.7794 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 7.351e-05/0.8427, allocations: 118.3 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.8427, allocations: 7.844 kB / 1.029 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.8429, allocations: 61.86 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.8429, allocations: 4 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.8429, allocations: 48 / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8429, allocations: 3.984 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.843, allocations: 165.7 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.843, allocations: 0 / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.8431, allocations: 12 kB / 1.03 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.8431, allocations: 7.875 kB / 1.03 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.8431, allocations: 4 kB / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8431, allocations: 320 / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.8431, allocations: 0 / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.941e-05/0.8432, allocations: 80.97 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.8433, allocations: 96.97 kB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.8433, allocations: 0 / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.8433, allocations: 4 kB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.8433, allocations: 0 / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.8433, allocations: 4 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.8434, allocations: 87.25 kB / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8434, allocations: 0 / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002247/0.8436, allocations: 40 kB / 1.03 GB, free: 8.945 MB / 0.7794 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.0002317/0.8438, allocations: 159.9 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.8439, allocations: 23.98 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8439, allocations: 0 / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.844, allocations: 11.94 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.8442, allocations: 4 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.8445, allocations: 200.1 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.8448, allocations: 0.6809 MB / 1.031 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.8448, allocations: 11.44 kB / 1.031 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8448, allocations: 0 / 1.031 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of Templates: time 0.002622/0.8474, allocations: 1.034 MB / 1.032 GB, free: 6.77 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches