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.0009907/0.0009908, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008575/0.008575, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 462.6 MB / 0.7363 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 10.91 kB / 0.9028 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3886, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001461/0.3901, allocations: 1.084 MB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3917, allocations: 1.118 MB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.3918, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.3918, allocations: 3.938 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.3919, allocations: 7.922 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.3923, allocations: 151.6 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.3924, allocations: 31.86 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.3925, allocations: 0 / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.037e-05/0.3925, allocations: 19.88 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.3926, allocations: 15.92 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.3926, allocations: 4 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005372/0.3932, allocations: 415.5 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.3932, allocations: 7.984 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.3932, allocations: 45.58 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.3935, allocations: 191.9 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3935, allocations: 0 / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.687e-06/0.3935, allocations: 7.922 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3936, allocations: 0 / 1.062 GB, free: 1.855 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.0003906/0.3939, allocations: 383.4 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.394, allocations: 15.91 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.394, allocations: 0.9375 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3942, allocations: 172.2 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3942, allocations: 4.375 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.3942, allocations: 4.375 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.3943, allocations: 42 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3943, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3943, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3943, allocations: 4 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.3944, allocations: 15.98 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.3946, allocations: 157.7 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.993e-05/0.3947, allocations: 46.5 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.3947, allocations: 16.89 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008686/0.3956, allocations: 0.9856 MB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3956, allocations: 34.5 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 3.617e-06/0.3956, allocations: 3.984 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001594/0.3958, allocations: 61.56 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.3958, allocations: 55.41 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.3959, allocations: 101.8 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3959, allocations: 33.7 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.396, allocations: 88.12 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.396, allocations: 15.8 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.396, allocations: 13.72 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.3961, allocations: 310.8 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.3961, allocations: 8 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.3962, allocations: 7.984 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.3962, allocations: 20.86 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3962, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.813e-05/0.3963, allocations: 53.62 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3963, allocations: 11.94 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3963, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3963, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3965, allocations: 12 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3965, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.3965, allocations: 11.84 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3965, allocations: 7.984 kB / 1.064 GB, free: 14.75 MB / 0.8262 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.384e-05/0.3966, allocations: 105.8 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.3966, allocations: 7.938 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.3967, allocations: 65.53 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3967, allocations: 3.938 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3968, allocations: 0 / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3968, allocations: 0 / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.3969, allocations: 161.7 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3969, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.397, allocations: 12 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.397, allocations: 3.938 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.397, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.397, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.397, allocations: 7.984 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.3971, allocations: 81.03 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.3971, allocations: 81.05 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3972, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.402e-05/0.3972, allocations: 7.938 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.3972, allocations: 7.938 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.3972, allocations: 432 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.3973, allocations: 91.56 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3973, allocations: 0 / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002264/0.3975, allocations: 40 kB / 1.065 GB, free: 13.98 MB / 0.8262 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.0002277/0.3977, allocations: 151.1 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.939e-05/0.3978, allocations: 23.98 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3978, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.3979, allocations: 12.03 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.3981, allocations: 4.094 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.3984, allocations: 174.7 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.3986, allocations: 0.6809 MB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.3986, allocations: 18.28 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.3987, allocations: 11.44 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3987, allocations: 0 / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of Templates: time 0.003513/0.4022, allocations: 1.116 MB / 1.067 GB, free: 11.79 MB / 0.8262 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 -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/jenkins/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