Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001355/0.001355, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001629/0.001629, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.789 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.675/2.675, allocations: 476 MB / 0.7699 GB, free: 4.777 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.002109/0.002109, allocations: 68.72 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2964, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005635/0.302, allocations: 3.807 MB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003776/0.3058, allocations: 2.207 MB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.3063, allocations: 8 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.3081, allocations: 0.5066 MB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007267/0.3089, allocations: 250 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.3092, allocations: 135.9 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.3102, allocations: 0.8198 MB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004326/0.3107, allocations: 211.1 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.3112, allocations: 303 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004986/0.3117, allocations: 286.6 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.3118, allocations: 72 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.312, allocations: 76 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.3122, allocations: 175.4 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.3125, allocations: 314.7 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3135, allocations: 1.004 MB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3135, allocations: 0 / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.476e-06/0.3135, allocations: 4 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.3135, allocations: 0 / 1.293 GB, free: 2.215 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001496/0.315, allocations: 0.8899 MB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3151, allocations: 12.03 kB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.3152, allocations: 82.7 kB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3153, allocations: 80.47 kB / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.316, allocations: 416.1 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.3161, allocations: 37.38 kB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.3161, allocations: 52.38 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.3169, allocations: 434.5 kB / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.3169, allocations: 4 kB / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.317, allocations: 16 kB / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.317, allocations: 12 kB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007374/0.3177, allocations: 363.9 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.3198, allocations: 1.257 MB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.3204, allocations: 312 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.3209, allocations: 290.2 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3209, allocations: 7.938 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3209, allocations: 34.56 kB / 1.297 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.3209, allocations: 4 kB / 1.297 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.000988/0.3219, allocations: 498.5 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.322, allocations: 63.33 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/0.3226, allocations: 485.9 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3226, allocations: 29.7 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.3228, allocations: 280.7 kB / 1.298 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.3229, allocations: 154.6 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.323, allocations: 62.08 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3232, allocations: 362.8 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.3235, allocations: 124.7 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.3237, allocations: 125.2 kB / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.3243, allocations: 298.2 kB / 1.299 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3243, allocations: 0 / 1.299 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006955/0.325, allocations: 408.4 kB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.325, allocations: 4 kB / 1.299 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.325, allocations: 0 / 1.299 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.325, allocations: 8.766 kB / 1.299 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.3256, allocations: 123.9 kB / 1.3 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3256, allocations: 0 / 1.3 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.3258, allocations: 27.78 kB / 1.3 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.3258, allocations: 15.98 kB / 1.3 GB, free: 10.75 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 (46): * Single equations (assignments): 46 * 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.0002502/0.3261, allocations: 193.8 kB / 1.3 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.3262, allocations: 55.61 kB / 1.3 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3263, allocations: 69.03 kB / 1.3 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3263, allocations: 8 kB / 1.3 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3263, allocations: 0 / 1.3 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.3263, allocations: 3.984 kB / 1.3 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.327, allocations: 484.3 kB / 1.3 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.327, allocations: 3.938 kB / 1.3 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.3275, allocations: 127.8 kB / 1.301 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.3275, allocations: 4 kB / 1.301 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.3275, allocations: 4 kB / 1.301 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3275, allocations: 4 kB / 1.301 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3275, allocations: 4 kB / 1.301 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.3286, allocations: 0.6549 MB / 1.301 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.3287, allocations: 59.58 kB / 1.301 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.3288, allocations: 16 kB / 1.301 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.329, allocations: 11.98 kB / 1.301 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.3291, allocations: 23.95 kB / 1.301 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3291, allocations: 12 kB / 1.301 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004301/0.3295, allocations: 355.1 kB / 1.302 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3295, allocations: 0 / 1.302 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004232/0.33, allocations: 147.7 kB / 1.302 GB, free: 8.477 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001392/0.3314, allocations: 1.208 MB / 1.303 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006229/0.332, allocations: 299.7 kB / 1.303 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.332, allocations: 8 kB / 1.303 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.3323, allocations: 163.8 kB / 1.303 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.3329, allocations: 125.7 kB / 1.304 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/0.3397, allocations: 4.852 MB / 1.308 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.34, allocations: 279.2 kB / 1.309 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.3402, allocations: 48.39 kB / 1.309 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.3405, allocations: 191.4 kB / 1.309 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.3405, allocations: 0 / 1.309 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04374/0.3842, allocations: 12.64 MB / 1.321 GB, free: 4.879 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 7.984 kB / 1.321 GB, free: 4.871 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.23615574836731]