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.001249/0.001249, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001478/0.001478, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.668/2.668, allocations: 476.8 MB / 0.7715 GB, free: 3.945 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="cs",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="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.001905/0.001905, allocations: 64.36 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.29, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005708/0.2957, allocations: 3.799 MB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003641/0.2993, allocations: 2.211 MB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.2999, allocations: 12 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.3017, allocations: 0.5044 MB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007209/0.3024, allocations: 246 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3027, allocations: 143.8 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000923/0.3037, allocations: 0.8098 MB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.304, allocations: 239 kB / 1.292 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.3045, allocations: 310.8 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.3049, allocations: 330.6 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.3049, allocations: 76 kB / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.3051, allocations: 80 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.3052, allocations: 163.5 kB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.3056, allocations: 318.6 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3066, allocations: 0.9962 MB / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3067, allocations: 0 / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3067, allocations: 0 / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.3067, allocations: 0 / 1.294 GB, free: 392 kB / 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.001501/0.3082, allocations: 0.9015 MB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3082, allocations: 8.031 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.984e-05/0.3082, allocations: 17.19 kB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.337e-05/0.3083, allocations: 90.7 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.3084, allocations: 76.47 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.3091, allocations: 404.2 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.3092, allocations: 33.38 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/0.3092, allocations: 48.38 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.31, allocations: 430.4 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.3101, allocations: 4 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.3101, allocations: 20 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3101, allocations: 16 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007121/0.3108, allocations: 367.8 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.3128, allocations: 1.257 MB / 1.298 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.3134, allocations: 312.7 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/0.3139, allocations: 292.6 kB / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3139, allocations: 4 kB / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3139, allocations: 34.56 kB / 1.298 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 2.073e-06/0.3139, allocations: 4.766 kB / 1.298 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.001008/0.3149, allocations: 0.4907 MB / 1.299 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.315, allocations: 59.39 kB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.3156, allocations: 485.9 kB / 1.299 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.3156, allocations: 29.7 kB / 1.299 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.3158, allocations: 276.7 kB / 1.3 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.316, allocations: 154.6 kB / 1.3 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3161, allocations: 66.02 kB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.3163, allocations: 362.8 kB / 1.3 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.3165, allocations: 124.7 kB / 1.3 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3167, allocations: 125.2 kB / 1.3 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.3173, allocations: 302.1 kB / 1.301 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3173, allocations: 0 / 1.301 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006893/0.318, allocations: 408.4 kB / 1.301 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.318, allocations: 9.969 kB / 1.301 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.318, allocations: 0 / 1.301 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.318, allocations: 4 kB / 1.301 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.3185, allocations: 123.9 kB / 1.301 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3185, allocations: 0 / 1.301 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.3187, allocations: 35.77 kB / 1.301 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.3188, allocations: 8 kB / 1.301 GB, free: 8.898 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.000226/0.319, allocations: 199.1 kB / 1.301 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.3191, allocations: 59.55 kB / 1.301 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.3192, allocations: 61.09 kB / 1.302 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3192, allocations: 4 kB / 1.302 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3192, allocations: 0 / 1.302 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3192, allocations: 3.984 kB / 1.302 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.3198, allocations: 492.2 kB / 1.302 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3198, allocations: 0 / 1.302 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.3204, allocations: 123.9 kB / 1.302 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3204, allocations: 8 kB / 1.302 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.3204, allocations: 8 kB / 1.302 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3204, allocations: 4 kB / 1.302 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3204, allocations: 3.938 kB / 1.302 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3214, allocations: 0.651 MB / 1.303 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3215, allocations: 63.64 kB / 1.303 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.3216, allocations: 12 kB / 1.303 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.3218, allocations: 11.98 kB / 1.303 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.3218, allocations: 27.95 kB / 1.303 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3219, allocations: 11.94 kB / 1.303 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004256/0.3223, allocations: 355.1 kB / 1.303 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3223, allocations: 0 / 1.303 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004134/0.3227, allocations: 151.7 kB / 1.303 GB, free: 6.613 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.001312/0.324, allocations: 1.2 MB / 1.305 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006002/0.3246, allocations: 307.7 kB / 1.305 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3246, allocations: 0 / 1.305 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.3249, allocations: 167.8 kB / 1.305 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.3256, allocations: 132.4 kB / 1.305 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006774/0.3324, allocations: 4.854 MB / 1.31 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3327, allocations: 275.1 kB / 1.31 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.3329, allocations: 56.39 kB / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.3332, allocations: 191.4 kB / 1.31 GB, free: 15.33 MB / 1.014 GB Notification: Performance of SimCode: time 1.603e-06/0.3332, allocations: 0 / 1.31 GB, free: 15.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/0.3708, allocations: 12.33 MB / 1.322 GB, free: 3.395 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.23, allocations: 8.047 kB / 1.322 GB, free: 3.387 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.613945800927468]