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.0007748/0.0007748, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008708/0.0008708, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005101/0.0005101, allocations: 19.8 kB / 0.9022 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3671, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001554/0.3687, allocations: 1.066 MB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3705, allocations: 1.013 MB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.3705, allocations: 0 / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.3705, allocations: 0 / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.758e-05/0.3706, allocations: 7.922 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.3713, allocations: 158.4 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.3714, allocations: 31.86 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.3714, allocations: 0 / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.3715, allocations: 19.92 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.3716, allocations: 7.938 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.3716, allocations: 0 / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.3722, allocations: 411.5 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.3723, allocations: 11.92 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.3723, allocations: 37.64 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.3726, allocations: 136 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3726, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3726, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3726, allocations: 0 / 1.061 GB, free: 2.395 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.0004362/0.3731, allocations: 375.2 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3731, allocations: 8.031 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.3732, allocations: 4 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3733, allocations: 167 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3734, allocations: 8 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3734, allocations: 7.953 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3735, allocations: 37.64 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3735, allocations: 4 kB / 1.061 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.3736, allocations: 3.984 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3736, allocations: 0 / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.961e-05/0.3736, allocations: 8 kB / 1.061 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.3739, allocations: 161.6 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.374, allocations: 46.55 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.374, allocations: 16.89 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.3752, allocations: 0.9895 MB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3752, allocations: 42.48 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3752, allocations: 0 / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002335/0.3755, allocations: 49.83 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3755, allocations: 55.34 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3756, allocations: 105.8 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3757, allocations: 29.7 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.3757, allocations: 88.14 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.3757, allocations: 7.812 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.3758, allocations: 4 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3759, allocations: 314.8 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.3759, allocations: 7.984 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.3759, allocations: 12.03 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.376, allocations: 7.938 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.376, allocations: 0 / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.282e-05/0.3761, allocations: 49.69 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3761, allocations: 11.95 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3761, allocations: 0 / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3762, allocations: 0 / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3763, allocations: 15.98 kB / 1.063 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3763, allocations: 4 kB / 1.063 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.3763, allocations: 3.938 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.3763, allocations: 0 / 1.063 GB, free: 15.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.3764, allocations: 109.8 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.3765, allocations: 7.906 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.3766, allocations: 69.48 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3766, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3767, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3767, allocations: 3.984 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.3768, allocations: 161.7 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3768, allocations: 0 / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.3769, allocations: 12 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3769, allocations: 3.984 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3769, allocations: 0 / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3769, allocations: 7.953 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3769, allocations: 4 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.3771, allocations: 77.06 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.3771, allocations: 81.02 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3772, allocations: 0 / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.556e-05/0.3772, allocations: 4 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.3772, allocations: 15.83 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.3772, allocations: 0 / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.3773, allocations: 87.27 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3773, allocations: 4 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002709/0.3776, allocations: 40 kB / 1.064 GB, free: 14.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002872/0.3779, allocations: 147.1 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.378, allocations: 23.98 kB / 1.064 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.378, allocations: 3.938 kB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.378, allocations: 8 kB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.3783, allocations: 11.98 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.3787, allocations: 163.8 kB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.3789, allocations: 0.6848 MB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.379, allocations: 8.406 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.379, allocations: 11.44 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.379, allocations: 0 / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.004308/0.3833, allocations: 1.083 MB / 1.066 GB, free: 12.41 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