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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_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.001494/0.001494, allocations: 103.5 kB / 16.35 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.578/2.578, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 66.28 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3524, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002729/0.3552, allocations: 1.362 MB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3569, allocations: 1.091 MB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.357, allocations: 0 / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.357, allocations: 7.922 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.3571, allocations: 7.938 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.3577, allocations: 211.2 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.178e-05/0.3578, allocations: 31.86 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.3578, allocations: 3.938 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.3579, allocations: 12 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.358, allocations: 19.91 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.358, allocations: 4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005808/0.3586, allocations: 427.5 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.3586, allocations: 7.938 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.3587, allocations: 11.88 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.359, allocations: 203.6 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.359, allocations: 0 / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.993e-06/0.359, allocations: 0 / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.359, allocations: 0 / 1.03 GB, free: 14.63 MB / 0.8106 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.0004764/0.3595, allocations: 387.3 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3595, allocations: 8.031 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.3596, allocations: 4.938 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3597, allocations: 168.3 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3597, allocations: 4.375 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3597, allocations: 4.375 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.3599, allocations: 42 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3599, allocations: 4 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3599, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3599, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.992e-05/0.36, allocations: 27.86 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.3601, allocations: 157.7 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/0.3602, allocations: 38.64 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.3603, allocations: 16.8 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009862/0.3613, allocations: 0.9895 MB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3613, allocations: 38.48 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3613, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001791/0.3615, allocations: 61.53 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.3616, allocations: 55.41 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.3616, allocations: 105.8 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3617, allocations: 29.7 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.3617, allocations: 80.14 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.3617, allocations: 15.84 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.3618, allocations: 13.72 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3619, allocations: 318.8 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.3619, allocations: 4 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.3619, allocations: 8 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.666e-05/0.362, allocations: 24.8 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.362, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.439e-05/0.3621, allocations: 57.59 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3621, allocations: 7.938 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3621, allocations: 0 / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3621, allocations: 336 / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.3623, allocations: 15.98 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3623, allocations: 0 / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.3623, allocations: 4 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3623, allocations: 4 kB / 1.033 GB, free: 11.52 MB / 0.8106 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.066e-05/0.3624, allocations: 109.8 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.3624, allocations: 7.938 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.3626, allocations: 69.5 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3626, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3626, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3626, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.3627, allocations: 169.6 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3627, allocations: 0 / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.3628, allocations: 19.98 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3628, allocations: 3.938 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3628, allocations: 0 / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3628, allocations: 7.938 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3628, allocations: 320 / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.363, allocations: 77.06 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.363, allocations: 81.05 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.363, allocations: 7.938 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.3631, allocations: 8 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.3631, allocations: 3.984 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3631, allocations: 0 / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.3631, allocations: 91.27 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3631, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002395/0.3634, allocations: 43.92 kB / 1.033 GB, free: 10.73 MB / 0.8106 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.0002486/0.3636, allocations: 147.2 kB / 1.033 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.3638, allocations: 19.98 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.3638, allocations: 4 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.3638, allocations: 11.94 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.3641, allocations: 8.703 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.3644, allocations: 148.2 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3647, allocations: 0.6845 MB / 1.034 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.3647, allocations: 10.67 kB / 1.034 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.3647, allocations: 7.438 kB / 1.034 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3647, allocations: 0 / 1.034 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of Templates: time 0.003534/0.3683, allocations: 1.148 MB / 1.035 GB, free: 8.539 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches