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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.2/3.2, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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 0.00197/0.00197, allocations: 65.53 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3665, allocations: 173.9 MB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002929/0.3694, allocations: 1.376 MB / 1.305 GB, free: 144 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3713, allocations: 1.09 MB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.3713, allocations: 0 / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.3713, allocations: 3.938 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.203e-05/0.3714, allocations: 3.938 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.372, allocations: 219.5 kB / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.884e-05/0.3721, allocations: 27.86 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.3722, allocations: 15.92 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.3723, allocations: 19.86 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.3723, allocations: 11.94 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.3723, allocations: 0 / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.373, allocations: 427.5 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.373, allocations: 0 / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.373, allocations: 15.92 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.3734, allocations: 203.4 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3734, allocations: 0 / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3734, allocations: 0 / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3734, allocations: 0 / 1.307 GB, free: 14.11 MB / 1.014 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.0005513/0.3739, allocations: 390.8 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.374, allocations: 12.92 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.374, allocations: 30.75 kB / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.3741, allocations: 12.83 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3742, allocations: 172.3 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3742, allocations: 4.375 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3742, allocations: 384 / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3743, allocations: 45.81 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3744, allocations: 3.984 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.3744, allocations: 0 / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3744, allocations: 0 / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/0.3744, allocations: 8 kB / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.3746, allocations: 161.7 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.3747, allocations: 46.52 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.3747, allocations: 12.92 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.3759, allocations: 0.9895 MB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3759, allocations: 34.5 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3759, allocations: 0 / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0001903/0.3761, allocations: 65.58 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3762, allocations: 51.41 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3763, allocations: 105.8 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3764, allocations: 25.7 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.3764, allocations: 88.14 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.3764, allocations: 15.89 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.3765, allocations: 21.7 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002196/0.3767, allocations: 310.8 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.3767, allocations: 4 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.3767, allocations: 11.98 kB / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.3768, allocations: 20.86 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3768, allocations: 0 / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.951e-05/0.3769, allocations: 57.56 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3769, allocations: 8 kB / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3769, allocations: 3.938 kB / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3769, allocations: 0 / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.377, allocations: 12 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.377, allocations: 0 / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.3771, allocations: 11.89 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3771, allocations: 3.984 kB / 1.31 GB, free: 10.95 MB / 1.014 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.438e-05/0.3772, allocations: 113.8 kB / 1.31 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.3772, allocations: 7.938 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.3773, allocations: 67.36 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3773, allocations: 384 / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3773, allocations: 3.938 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3773, allocations: 0 / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.3775, allocations: 161.7 kB / 1.31 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3775, allocations: 3.984 kB / 1.31 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.897e-05/0.3776, allocations: 19.94 kB / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3776, allocations: 0 / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3776, allocations: 0 / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3776, allocations: 4 kB / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3776, allocations: 7.984 kB / 1.31 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.3777, allocations: 77.08 kB / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.3778, allocations: 81.05 kB / 1.311 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.3778, allocations: 0 / 1.311 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.3778, allocations: 4 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.3778, allocations: 3.938 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.3778, allocations: 0 / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.151e-05/0.3779, allocations: 95.27 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002349/0.3781, allocations: 35.88 kB / 1.311 GB, free: 10.17 MB / 1.014 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.0005656/0.3787, allocations: 0.6708 MB / 1.311 GB, free: 9.473 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.3788, allocations: 19.92 kB / 1.311 GB, free: 9.453 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3788, allocations: 4 kB / 1.311 GB, free: 9.449 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.3788, allocations: 12 kB / 1.311 GB, free: 9.438 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.3791, allocations: 9.656 kB / 1.311 GB, free: 9.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.3796, allocations: 201.5 kB / 1.312 GB, free: 9.191 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3801, allocations: 0.6807 MB / 1.312 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.3801, allocations: 8 kB / 1.312 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3801, allocations: 19.42 kB / 1.312 GB, free: 8.457 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/0.3801, allocations: 0 / 1.312 GB, free: 8.457 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.4159, allocations: 2.204 MB / 1.314 GB, free: 6.465 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.545, allocations: 10.42 kB / 1.314 GB, free: 6.461 MB / 1.014 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.408870526123792]