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.001349/0.001349, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001798/0.001798, allocations: 214.8 kB / 23.04 MB, free: 5.07 MB / 14.72 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 1.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] 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 3.284/3.284, allocations: 0.5003 GB / 0.8061 GB, free: 26.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003309/0.003309, allocations: 65.95 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4167, allocations: 179 MB / 1.345 GB, free: 388 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00273/0.4194, allocations: 1.4 MB / 1.347 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.4214, allocations: 1.164 MB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.4214, allocations: 0 / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.4214, allocations: 0 / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.4215, allocations: 11.88 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007076/0.4222, allocations: 227.5 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.4223, allocations: 31.8 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.4223, allocations: 4 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.4224, allocations: 19.97 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.4225, allocations: 15.92 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.4225, allocations: 0 / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.4232, allocations: 439.4 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.4232, allocations: 11.94 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.4232, allocations: 11.92 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.4236, allocations: 207.4 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4236, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4236, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.4236, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 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.0004776/0.4241, allocations: 317.6 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4241, allocations: 12.03 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.511e-05/0.4241, allocations: 4.188 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.4241, allocations: 38.73 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.4242, allocations: 4.875 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.4243, allocations: 110.5 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4243, allocations: 4.375 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.4243, allocations: 384 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.4244, allocations: 45.56 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4244, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4244, allocations: 7.984 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4244, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.979e-05/0.4245, allocations: 12 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.4247, allocations: 144.7 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.504e-05/0.4247, allocations: 30.58 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.4248, allocations: 20.92 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005411/0.4253, allocations: 95.8 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.4254, allocations: 38.55 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4254, allocations: 0 / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001758/0.4255, allocations: 53.69 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.4256, allocations: 51.41 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.4257, allocations: 105.9 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.4257, allocations: 29.69 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.4257, allocations: 88.14 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.4258, allocations: 7.906 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.4258, allocations: 17.72 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4259, allocations: 314.8 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.4259, allocations: 8 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.426, allocations: 7.938 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.648e-05/0.426, allocations: 24.86 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.426, allocations: 0 / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.197e-05/0.4261, allocations: 57.58 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4261, allocations: 4 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4261, allocations: 0 / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4261, allocations: 3.938 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.4263, allocations: 15.98 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4263, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.4263, allocations: 4 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.4263, allocations: 3.938 kB / 1.35 GB, free: 10.99 MB / 1.045 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.742e-05/0.4264, allocations: 113.8 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.4264, allocations: 7.938 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.4265, allocations: 61.67 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4265, allocations: 0 / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4265, allocations: 0 / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4265, allocations: 384 / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.4266, allocations: 132.7 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4266, allocations: 11.88 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-05/0.4267, allocations: 19.98 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4267, allocations: 0 / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.4267, allocations: 4 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4267, allocations: 3.938 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/0.4267, allocations: 3.984 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.4269, allocations: 73.12 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.4269, allocations: 15.83 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.4269, allocations: 0 / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.4269, allocations: 4 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.4269, allocations: 7.984 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.4269, allocations: 4 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.427, allocations: 79.28 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.427, allocations: 0 / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002647/0.4272, allocations: 47.86 kB / 1.351 GB, free: 10.33 MB / 1.045 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.0005764/0.4278, allocations: 0.6707 MB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.4279, allocations: 19.98 kB / 1.352 GB, free: 9.609 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4279, allocations: 0 / 1.352 GB, free: 9.609 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.4279, allocations: 11.94 kB / 1.352 GB, free: 9.598 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.4282, allocations: 19.86 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.4287, allocations: 198.2 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.429, allocations: 0.6845 MB / 1.353 GB, free: 8.633 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.429, allocations: 4 kB / 1.353 GB, free: 8.629 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.429, allocations: 15.42 kB / 1.353 GB, free: 8.617 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.429, allocations: 0 / 1.353 GB, free: 8.617 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.4517, allocations: 2.4 MB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.63, allocations: 13.36 kB / 1.355 GB, free: 6.406 MB / 1.045 GB " [Timeout remaining time 288] (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/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: 18.625704287958797]