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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008249/0.0008249, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9202/0.9202, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.747/1.747, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.9998 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.265e-05, allocations: 2.281 kB / 0.9998 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001679/0.001692, allocations: 1.37 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.002843, allocations: 1.044 MB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.002871, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.002892, allocations: 7.922 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.139e-05/0.002934, allocations: 3.938 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.00343, allocations: 227 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.621e-05/0.003486, allocations: 31.8 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.003527, allocations: 11.94 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.003639, allocations: 19.92 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.003694, allocations: 11.98 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.003705, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.004102, allocations: 403.4 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.004115, allocations: 11.92 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.004135, allocations: 12 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.004384, allocations: 247.3 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004386, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004387, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.00439, allocations: 4 kB / 1.003 GB, free: 10.02 MB / 0.9636 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.0003133/0.004703, allocations: 317.7 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.004739, allocations: 12.02 kB / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.314e-05/0.004762, allocations: 34.75 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.79e-05/0.00478, allocations: 4.891 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.615e-05/0.004846, allocations: 105.8 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.004857, allocations: 4.359 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.004866, allocations: 8.375 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.784e-05/0.004944, allocations: 42.19 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.00495, allocations: 192 / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.004958, allocations: 8.125 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.004961, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.637e-05/0.004997, allocations: 15.98 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.005102, allocations: 124.8 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.852e-05/0.00517, allocations: 38.61 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.005195, allocations: 16.89 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.005491, allocations: 95.89 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.005509, allocations: 34.5 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.00551, allocations: 0 / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001308/0.005641, allocations: 65.58 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.005664, allocations: 51.41 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.005965, allocations: 105.8 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.005975, allocations: 33.7 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.006001, allocations: 84.14 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.006027, allocations: 19.81 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.006051, allocations: 17.72 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.683e-05/0.006117, allocations: 314.8 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.006131, allocations: 4 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.006145, allocations: 15.92 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.006177, allocations: 16.86 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006179, allocations: 4 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.641e-05/0.006225, allocations: 49.62 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.006235, allocations: 8 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.006239, allocations: 4.312 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.006249, allocations: 3.938 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.006313, allocations: 12 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.006317, allocations: 3.984 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.006329, allocations: 3.953 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.006335, allocations: 8.312 kB / 1.005 GB, free: 8.172 MB / 0.9636 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 4.759e-05/0.006383, allocations: 113.8 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-06/0.006388, allocations: 4 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.106e-05/0.006469, allocations: 61.67 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.006471, allocations: 3.938 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.006474, allocations: 4 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006478, allocations: 3.984 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.958e-05/0.006548, allocations: 124.8 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.006549, allocations: 0 / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.006579, allocations: 15.98 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.00658, allocations: 0 / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.006585, allocations: 0 / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006586, allocations: 3.938 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006587, allocations: 7.938 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.983e-05/0.006647, allocations: 81.02 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-06/0.006651, allocations: 4 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-06/0.006659, allocations: 8 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.006669, allocations: 3.938 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.006681, allocations: 3.984 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.006683, allocations: 4 kB / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.006709, allocations: 83.28 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006709, allocations: 0 / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001711/0.00688, allocations: 47.8 kB / 1.005 GB, free: 7.52 MB / 0.9636 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.0003171/0.007197, allocations: 0.6747 MB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.33e-05/0.00727, allocations: 27.98 kB / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007272, allocations: 0 / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.007284, allocations: 8 kB / 1.006 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.007425, allocations: 18.27 kB / 1.006 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.007739, allocations: 182.3 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.413e-05/0.007773, allocations: 63.34 kB / 1.006 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.007796, allocations: 11.89 kB / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.007824, allocations: 12.5 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.007824, allocations: 0 / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.02227, allocations: 2.958 MB / 1.009 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.468/6.49, allocations: 4.5 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.656476977281272]