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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7611 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 75.88 kB / 1.104 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.8914, allocations: 168.7 MB / 1.269 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005256/0.8967, allocations: 4.186 MB / 1.273 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003375/0.9, allocations: 2.421 MB / 1.275 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.9004, allocations: 11.28 kB / 1.275 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.902, allocations: 0.5345 MB / 1.276 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.9025, allocations: 251.8 kB / 1.276 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.9027, allocations: 134.4 kB / 1.276 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007761/0.9035, allocations: 0.8145 MB / 1.277 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.9038, allocations: 229.9 kB / 1.277 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.9042, allocations: 299.9 kB / 1.277 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.9045, allocations: 335.5 kB / 1.278 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.9046, allocations: 74.81 kB / 1.278 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.9047, allocations: 74.03 kB / 1.278 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.9049, allocations: 175 kB / 1.278 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.9052, allocations: 386.3 kB / 1.278 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.9062, allocations: 0.9978 MB / 1.279 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9062, allocations: 0 / 1.279 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9062, allocations: 0.7812 kB / 1.279 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.9062, allocations: 0 / 1.279 GB, free: 0.8984 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.001432/0.9077, allocations: 0.9711 MB / 1.28 GB, free: 184 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.9077, allocations: 9.031 kB / 1.28 GB, free: 184 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.691e-05/0.9078, allocations: 86.41 kB / 1.28 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.9079, allocations: 77.22 kB / 1.281 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.9086, allocations: 460.3 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.9087, allocations: 34.78 kB / 1.281 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.9088, allocations: 55.03 kB / 1.281 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/0.9095, allocations: 432.6 kB / 1.281 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.9095, allocations: 2.672 kB / 1.281 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.9095, allocations: 19.47 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.9096, allocations: 11.72 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006941/0.9102, allocations: 364.6 kB / 1.282 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.9125, allocations: 1.527 MB / 1.283 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.913, allocations: 315.6 kB / 1.284 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.9135, allocations: 280.8 kB / 1.284 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.9135, allocations: 13.5 kB / 1.284 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.9135, allocations: 37.98 kB / 1.284 GB, free: 14.13 MB / 1.014 GB Notification: Performance of pre-optimization done (n=42): time 2.465e-06/0.9135, allocations: 0 / 1.284 GB, free: 14.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.0009621/0.9145, allocations: 0.493 MB / 1.284 GB, free: 13.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.9145, allocations: 60.92 kB / 1.284 GB, free: 13.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.9151, allocations: 491 kB / 1.285 GB, free: 13.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.9152, allocations: 33.48 kB / 1.285 GB, free: 13.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.9154, allocations: 286.3 kB / 1.285 GB, free: 13.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.9155, allocations: 149.1 kB / 1.285 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.943e-05/0.9156, allocations: 61.95 kB / 1.285 GB, free: 13.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.9158, allocations: 359.7 kB / 1.286 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.9161, allocations: 120.2 kB / 1.286 GB, free: 12.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.9163, allocations: 131.6 kB / 1.286 GB, free: 12.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.9168, allocations: 297.6 kB / 1.286 GB, free: 12.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9168, allocations: 0 / 1.286 GB, free: 12.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006531/0.9175, allocations: 399.9 kB / 1.287 GB, free: 12.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.9175, allocations: 5.844 kB / 1.287 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9175, allocations: 4.938 kB / 1.287 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.9175, allocations: 2.094 kB / 1.287 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.918, allocations: 128 kB / 1.287 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.918, allocations: 2.281 kB / 1.287 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.9183, allocations: 39.17 kB / 1.287 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.9183, allocations: 11.28 kB / 1.287 GB, free: 12.39 MB / 1.014 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.0002189/0.9185, allocations: 198.2 kB / 1.287 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.9186, allocations: 56.61 kB / 1.287 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.9187, allocations: 60.38 kB / 1.287 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.9187, allocations: 8.609 kB / 1.287 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.9187, allocations: 5.188 kB / 1.287 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.9187, allocations: 2.531 kB / 1.287 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.9195, allocations: 0.5743 MB / 1.288 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9195, allocations: 3.938 kB / 1.288 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.92, allocations: 128 kB / 1.288 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.92, allocations: 1.469 kB / 1.288 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.92, allocations: 11.16 kB / 1.288 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.92, allocations: 2.688 kB / 1.288 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.92, allocations: 0 / 1.288 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.921, allocations: 0.6488 MB / 1.289 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.9211, allocations: 140.2 kB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.9212, allocations: 7.25 kB / 1.289 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.9214, allocations: 14.69 kB / 1.289 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.9215, allocations: 20.28 kB / 1.289 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.9215, allocations: 15.84 kB / 1.289 GB, free: 11.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004282/0.9219, allocations: 353.5 kB / 1.289 GB, free: 11.08 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9219, allocations: 0 / 1.289 GB, free: 11.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004295/0.9224, allocations: 145.3 kB / 1.289 GB, free: 11.05 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.001308/0.9237, allocations: 1.217 MB / 1.29 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005655/0.9242, allocations: 298.4 kB / 1.291 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9242, allocations: 0 / 1.291 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.9245, allocations: 173.6 kB / 1.291 GB, free: 9.984 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.9251, allocations: 130.7 kB / 1.291 GB, free: 9.926 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/0.932, allocations: 4.878 MB / 1.296 GB, free: 7.207 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.9325, allocations: 0.8688 MB / 1.297 GB, free: 6.496 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002382/0.9328, allocations: 48.39 kB / 1.297 GB, free: 6.488 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.933, allocations: 192.1 kB / 1.297 GB, free: 6.344 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/0.933, allocations: 0 / 1.297 GB, free: 6.344 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04227/0.9753, allocations: 11.54 MB / 1.308 GB, free: 5.164 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/9.664, allocations: 13.64 kB / 1.308 GB, free: 5.152 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_2/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: 15.642810721416026]