Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001301/0.001301, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001663/0.001663, allocations: 213.4 kB / 22.26 MB, free: 5.125 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.61/2.61, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002004/0.002004, allocations: 65.11 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00494/0.3094, allocations: 3.105 MB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3126, allocations: 2.187 MB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.3129, allocations: 11.94 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.3144, allocations: 0.5117 MB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.3148, allocations: 142.9 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.315, allocations: 67.86 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000542/0.3155, allocations: 445.9 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.3157, allocations: 103.8 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.316, allocations: 183.2 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.3163, allocations: 175.2 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.3163, allocations: 36 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.3164, allocations: 32 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3165, allocations: 103.6 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.3167, allocations: 219 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.3173, allocations: 0.5447 MB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3173, allocations: 4 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3173, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3173, allocations: 3.938 kB / 1.291 GB, free: 3.844 MB / 0.9825 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.001073/0.3184, allocations: 0.6406 MB / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3184, allocations: 12.03 kB / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.3185, allocations: 58.67 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.3186, allocations: 44.66 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/0.3192, allocations: 316.7 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3192, allocations: 16.81 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.3192, allocations: 24.33 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.3197, allocations: 203.4 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3197, allocations: 0 / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3197, allocations: 12 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3197, allocations: 8 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3201, allocations: 165.6 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3213, allocations: 0.8317 MB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.3216, allocations: 142.5 kB / 1.293 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.3218, allocations: 104.8 kB / 1.294 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3219, allocations: 7.984 kB / 1.294 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.3219, allocations: 34.56 kB / 1.294 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.3219, allocations: 4 kB / 1.294 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0006207/0.3225, allocations: 255.6 kB / 1.294 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3226, allocations: 55.41 kB / 1.294 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004832/0.3231, allocations: 413.7 kB / 1.294 GB, free: 360 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3231, allocations: 37.64 kB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3233, allocations: 208.4 kB / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.3233, allocations: 63.44 kB / 1.295 GB, free: 40 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.3234, allocations: 37.78 kB / 1.295 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3236, allocations: 350.8 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.3237, allocations: 51.97 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3238, allocations: 57.52 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.3241, allocations: 139.2 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3241, allocations: 4 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003725/0.3245, allocations: 209.3 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3245, allocations: 4 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3245, allocations: 3.938 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3245, allocations: 0 / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.3248, allocations: 59.91 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.3248, allocations: 0 / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.3249, allocations: 19.88 kB / 1.296 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3249, allocations: 8 kB / 1.296 GB, free: 15.09 MB / 0.9981 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.0001631/0.3251, allocations: 165.8 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.3251, allocations: 39.77 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.3252, allocations: 43.47 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3252, allocations: 0 / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3252, allocations: 0 / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3252, allocations: 0 / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.3256, allocations: 356.3 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3256, allocations: 0 / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.3259, allocations: 51.97 kB / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3259, allocations: 0 / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.3259, allocations: 11.94 kB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3259, allocations: 0 / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3259, allocations: 0 / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.3265, allocations: 389.7 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.3266, allocations: 39.78 kB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.3266, allocations: 7.938 kB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3268, allocations: 11.98 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3268, allocations: 7.984 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.3268, allocations: 4 kB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000337/0.3272, allocations: 307.1 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3272, allocations: 0 / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002978/0.3275, allocations: 71.89 kB / 1.297 GB, free: 13.55 MB / 0.9981 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.0009008/0.3284, allocations: 0.9252 MB / 1.298 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.3287, allocations: 135.9 kB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3287, allocations: 0 / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.3289, allocations: 77.92 kB / 1.298 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.3294, allocations: 100.4 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.334, allocations: 3.485 MB / 1.302 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3344, allocations: 0.8028 MB / 1.302 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.3345, allocations: 42.89 kB / 1.302 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3347, allocations: 115.4 kB / 1.302 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of SimCode: time 1.563e-06/0.3347, allocations: 0 / 1.302 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.3715, allocations: 8.18 MB / 1.31 GB, free: 15.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.72, allocations: 10 kB / 1.31 GB, free: 15.82 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.004034656798467]