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.001332/0.001332, allocations: 116.1 kB / 17.17 MB, free: 6 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.001408/0.001408, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.782/2.782, allocations: 476.7 MB / 0.7678 GB, free: 9.309 MB / 0.6075 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.001977/0.001977, allocations: 71.91 kB / 1.113 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.8826, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006672/0.8892, allocations: 4.205 MB / 1.283 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004601/0.8938, allocations: 2.466 MB / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.8944, allocations: 13.78 kB / 1.286 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.8963, allocations: 0.5381 MB / 1.286 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008623/0.8971, allocations: 252.4 kB / 1.286 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.8975, allocations: 138.5 kB / 1.286 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.8987, allocations: 0.8116 MB / 1.287 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.8991, allocations: 231.8 kB / 1.287 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005834/0.8997, allocations: 308 kB / 1.288 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.9002, allocations: 329.5 kB / 1.288 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.9003, allocations: 74.12 kB / 1.288 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.9004, allocations: 74.19 kB / 1.288 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.9006, allocations: 169.5 kB / 1.288 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.901, allocations: 387.4 kB / 1.289 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.9023, allocations: 1 MB / 1.29 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.9023, allocations: 1.375 kB / 1.29 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9023, allocations: 0 / 1.29 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.221e-05/0.9023, allocations: 4 kB / 1.29 GB, free: 4.84 MB / 0.9981 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.001714/0.904, allocations: 0.9685 MB / 1.291 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9041, allocations: 11.05 kB / 1.291 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.448e-05/0.9041, allocations: 12.75 kB / 1.291 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.9042, allocations: 90 kB / 1.291 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.9043, allocations: 77.25 kB / 1.291 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.9052, allocations: 472.6 kB / 1.291 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.9052, allocations: 36.44 kB / 1.291 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.9053, allocations: 47.91 kB / 1.291 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/0.9061, allocations: 429.9 kB / 1.292 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.9061, allocations: 0.5156 kB / 1.292 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.9062, allocations: 16.19 kB / 1.292 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.9062, allocations: 11.91 kB / 1.292 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.907, allocations: 373.6 kB / 1.292 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.9093, allocations: 1.527 MB / 1.294 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.9098, allocations: 307.2 kB / 1.294 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.9103, allocations: 293.6 kB / 1.294 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.9103, allocations: 4.344 kB / 1.294 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.9104, allocations: 40.8 kB / 1.294 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 1.783e-06/0.9104, allocations: 0 / 1.294 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.001037/0.9114, allocations: 495.8 kB / 1.295 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.9114, allocations: 60.41 kB / 1.295 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.9121, allocations: 487.1 kB / 1.295 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.9121, allocations: 31.27 kB / 1.295 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.9123, allocations: 274.8 kB / 1.296 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.9125, allocations: 152.5 kB / 1.296 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.9126, allocations: 61.75 kB / 1.296 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.9128, allocations: 359 kB / 1.296 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.9131, allocations: 127.6 kB / 1.296 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.9133, allocations: 127.5 kB / 1.296 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.9139, allocations: 298.3 kB / 1.297 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.9139, allocations: 4 kB / 1.297 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007141/0.9146, allocations: 404 kB / 1.297 GB, free: 392 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9146, allocations: 5.594 kB / 1.297 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9146, allocations: 4.656 kB / 1.297 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.9146, allocations: 3.141 kB / 1.297 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.9151, allocations: 128.3 kB / 1.297 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.9151, allocations: 1.156 kB / 1.297 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.9154, allocations: 36.02 kB / 1.297 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.9154, allocations: 11.66 kB / 1.297 GB, free: 348 kB / 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.0002338/0.9157, allocations: 212.1 kB / 1.297 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.9157, allocations: 56.53 kB / 1.297 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.9159, allocations: 64.69 kB / 1.297 GB, free: 88 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.9159, allocations: 4.688 kB / 1.298 GB, free: 88 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.9159, allocations: 0 / 1.298 GB, free: 88 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.9159, allocations: 3.281 kB / 1.298 GB, free: 88 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.9167, allocations: 0.5739 MB / 1.298 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9167, allocations: 0.6562 kB / 1.298 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.9172, allocations: 124.3 kB / 1.298 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.9172, allocations: 5.156 kB / 1.298 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.9172, allocations: 7.625 kB / 1.298 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.9172, allocations: 1.594 kB / 1.298 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9172, allocations: 0.6094 kB / 1.298 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.9183, allocations: 0.6513 MB / 1.299 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.9184, allocations: 140.2 kB / 1.299 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.9185, allocations: 16.05 kB / 1.299 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.9187, allocations: 9.828 kB / 1.299 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.9188, allocations: 25.14 kB / 1.299 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.9188, allocations: 7.469 kB / 1.299 GB, free: 15.19 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004225/0.9192, allocations: 353 kB / 1.299 GB, free: 15.03 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9192, allocations: 1.344 kB / 1.299 GB, free: 15.03 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004568/0.9197, allocations: 148.7 kB / 1.3 GB, free: 14.99 MB / 1.014 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.001379/0.921, allocations: 1.214 MB / 1.301 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006075/0.9217, allocations: 299.7 kB / 1.301 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9217, allocations: 4 kB / 1.301 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.922, allocations: 165 kB / 1.301 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.9226, allocations: 126.1 kB / 1.301 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/0.9297, allocations: 4.881 MB / 1.306 GB, free: 11.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.9303, allocations: 0.8672 MB / 1.307 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.9305, allocations: 58.05 kB / 1.307 GB, free: 10.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.9308, allocations: 191.8 kB / 1.307 GB, free: 10.29 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/0.9308, allocations: 0 / 1.307 GB, free: 10.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.9695, allocations: 11.59 MB / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.298/10.27, allocations: 7.016 kB / 1.318 GB, free: 7.395 MB / 1.014 GB " [Timeout remaining time 290] (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: 16.42891796102049]