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.001366/0.001366, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001434/0.001434, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64 kB / 0.8774 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3408, allocations: 153 MB / 1.027 GB, free: 1.988 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002717/0.3435, allocations: 1.368 MB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3452, allocations: 1.091 MB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.3452, allocations: 0 / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.3453, allocations: 3.984 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.3453, allocations: 11.92 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.3459, allocations: 211.2 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.346, allocations: 35.73 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.346, allocations: 4 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.3461, allocations: 12 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.3462, allocations: 23.84 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3462, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.3467, allocations: 423.5 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.3468, allocations: 11.92 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.3468, allocations: 11.94 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.3471, allocations: 199.6 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3471, allocations: 4 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3471, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3471, allocations: 0 / 1.03 GB, free: 14.57 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.0004505/0.3476, allocations: 384.7 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3476, allocations: 8.031 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.3477, allocations: 0.9375 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3478, allocations: 176.2 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3478, allocations: 384 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3478, allocations: 8.375 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.348, allocations: 38 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.348, allocations: 4 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.348, allocations: 4 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.348, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.348, allocations: 11.98 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.3482, allocations: 157.7 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.425e-05/0.3483, allocations: 54.47 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.3484, allocations: 16.89 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009704/0.3493, allocations: 0.9856 MB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3494, allocations: 38.48 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3494, allocations: 4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001818/0.3496, allocations: 57.59 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.3496, allocations: 55.41 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.3497, allocations: 105.8 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3497, allocations: 25.7 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.3498, allocations: 88.12 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.3498, allocations: 11.84 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.3498, allocations: 17.72 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.35, allocations: 318.8 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.35, allocations: 4 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.35, allocations: 8 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.3501, allocations: 16.86 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3501, allocations: 0 / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.843e-05/0.3502, allocations: 53.59 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3502, allocations: 15.88 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3502, allocations: 4 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3502, allocations: 0 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.3503, allocations: 19.92 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3503, allocations: 0 / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.3504, allocations: 0 / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3504, allocations: 4 kB / 1.033 GB, free: 11.47 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 7.261e-05/0.3504, allocations: 113.8 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.3505, allocations: 3.938 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.3506, allocations: 68.25 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3506, allocations: 4 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3506, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3506, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.3507, allocations: 161.6 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3507, allocations: 0 / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.3508, allocations: 19.92 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3508, allocations: 3.938 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3508, allocations: 3.938 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3508, allocations: 0 / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3508, allocations: 0 / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.534e-05/0.3509, allocations: 81.48 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.351, allocations: 85.05 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.351, allocations: 0 / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.351, allocations: 4 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.3511, allocations: 7.984 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3511, allocations: 0 / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.3511, allocations: 83.28 kB / 1.033 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3511, allocations: 4 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002254/0.3514, allocations: 47.92 kB / 1.033 GB, free: 10.69 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.0002279/0.3516, allocations: 155.1 kB / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.3517, allocations: 20 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3517, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.3517, allocations: 11.98 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.3519, allocations: 1.25 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.3522, allocations: 164.2 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3525, allocations: 0.6807 MB / 1.034 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.3525, allocations: 0 / 1.034 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.3525, allocations: 11.44 kB / 1.034 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3525, allocations: 0 / 1.034 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of Templates: time 0.003634/0.3562, allocations: 1.151 MB / 1.035 GB, free: 8.492 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 gbode -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