Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001935/0.001935, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002294/0.002294, allocations: 216.2 kB / 22.26 MB, free: 5.113 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 8.012 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.174/3.174, allocations: 0.505 GB / 0.8101 GB, free: 22.09 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.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",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.003267/0.003267, allocations: 66.72 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3611, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004962/0.366, allocations: 3.086 MB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.3695, allocations: 2.207 MB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.3699, allocations: 4 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.3716, allocations: 0.5256 MB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.3722, allocations: 138.9 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3724, allocations: 67.88 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006868/0.373, allocations: 444.8 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.3733, allocations: 103.8 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.3737, allocations: 171.3 kB / 1.359 GB, free: 1.672 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.374, allocations: 179.2 kB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.3741, allocations: 35.94 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-05/0.3742, allocations: 36 kB / 1.36 GB, free: 1.426 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3743, allocations: 91.69 kB / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.3746, allocations: 218.9 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.3752, allocations: 0.5447 MB / 1.361 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3752, allocations: 4 kB / 1.361 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3752, allocations: 0 / 1.361 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.3753, allocations: 0 / 1.361 GB, free: 0.5703 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00131/0.3766, allocations: 0.6356 MB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3766, allocations: 12.03 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.56e-05/0.3767, allocations: 58.73 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.3768, allocations: 56.62 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.3775, allocations: 312.4 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.3775, allocations: 16.81 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.3775, allocations: 24.38 kB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.3779, allocations: 200.8 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.378, allocations: 0 / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.378, allocations: 12 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.378, allocations: 4 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.3784, allocations: 169.6 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.3798, allocations: 0.8239 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.3801, allocations: 142.6 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.3804, allocations: 100.8 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3804, allocations: 4 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3804, allocations: 34.5 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.3804, allocations: 7.938 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.000631/0.381, allocations: 251.6 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.3811, allocations: 55.41 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.3816, allocations: 417.6 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3816, allocations: 29.7 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.3818, allocations: 208.4 kB / 1.364 GB, free: 12.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.3819, allocations: 63.44 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.3819, allocations: 41.7 kB / 1.364 GB, free: 12.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3821, allocations: 350.7 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3823, allocations: 51.97 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3824, allocations: 55.97 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.3827, allocations: 138.6 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3827, allocations: 4 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004193/0.3831, allocations: 207.2 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3831, allocations: 4 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3831, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3832, allocations: 8 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.3834, allocations: 51.91 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3835, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3836, allocations: 27.81 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3836, allocations: 8 kB / 1.365 GB, free: 11.84 MB / 1.061 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 (20): * Single equations (assignments): 20 * 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 0.0001776/0.3838, allocations: 162.5 kB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.3839, allocations: 35.77 kB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.384, allocations: 43.52 kB / 1.365 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.384, allocations: 0 / 1.365 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.384, allocations: 4 kB / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.384, allocations: 7.922 kB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.3844, allocations: 348.4 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3844, allocations: 4 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.3847, allocations: 51.91 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3847, allocations: 4 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3847, allocations: 4 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3847, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3847, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.3853, allocations: 387 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.3854, allocations: 47.66 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.3855, allocations: 7.938 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.3856, allocations: 7.984 kB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3857, allocations: 11.98 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.3857, allocations: 7.938 kB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003664/0.3861, allocations: 307.1 kB / 1.366 GB, free: 10.35 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3861, allocations: 0 / 1.366 GB, free: 10.35 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003252/0.3864, allocations: 71.89 kB / 1.366 GB, free: 10.28 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0009825/0.3874, allocations: 0.9131 MB / 1.367 GB, free: 9.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.3877, allocations: 137.5 kB / 1.367 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3877, allocations: 0 / 1.367 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3879, allocations: 78.39 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.3885, allocations: 97.31 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/0.3933, allocations: 3.497 MB / 1.371 GB, free: 5.457 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.3937, allocations: 0.7912 MB / 1.372 GB, free: 4.641 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.3938, allocations: 34.97 kB / 1.372 GB, free: 4.605 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.394, allocations: 115.4 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of SimCode: time 6.62e-07/0.394, allocations: 0 / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03999/0.434, allocations: 8.166 MB / 1.38 GB, free: 12.57 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.6, allocations: 0 / 1.38 GB, free: 12.57 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.207898230990395]