Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001482/0.001482, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001562/0.001562, allocations: 215.4 kB / 23.04 MB, free: 5.07 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.025/3.025, allocations: 0.49 GB / 0.7959 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001914/0.001914, allocations: 65.02 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3259, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005683/0.3315, allocations: 4.229 MB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003694/0.3352, allocations: 2.472 MB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.3355, allocations: 8 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.3372, allocations: 0.5607 MB / 1.334 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005416/0.3377, allocations: 254 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.338, allocations: 131.9 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008892/0.3389, allocations: 0.8059 MB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.3393, allocations: 239 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.3397, allocations: 303 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.3401, allocations: 330.6 kB / 1.336 GB, free: 8.598 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.19e-05/0.3402, allocations: 76 kB / 1.336 GB, free: 8.523 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3403, allocations: 72 kB / 1.336 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.3405, allocations: 175.4 kB / 1.336 GB, free: 8.281 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.3408, allocations: 386.3 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009882/0.3418, allocations: 0.9894 MB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3418, allocations: 0 / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3418, allocations: 0 / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.3418, allocations: 3.984 kB / 1.337 GB, free: 6.906 MB / 1.029 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.001462/0.3433, allocations: 0.886 MB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3433, allocations: 16.02 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.378e-05/0.3434, allocations: 21.12 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.973e-05/0.3435, allocations: 82.72 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3436, allocations: 84.45 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.3442, allocations: 400.2 kB / 1.339 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.3443, allocations: 37.38 kB / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.3443, allocations: 44.38 kB / 1.339 GB, free: 5.289 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007477/0.3451, allocations: 430.4 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3451, allocations: 0 / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.3451, allocations: 24 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3452, allocations: 12 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.3459, allocations: 371.7 kB / 1.34 GB, free: 4.461 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.348, allocations: 1.469 MB / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.3485, allocations: 314.7 kB / 1.341 GB, free: 2.605 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.349, allocations: 286 kB / 1.342 GB, free: 2.324 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.349, allocations: 4 kB / 1.342 GB, free: 2.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.349, allocations: 50.2 kB / 1.342 GB, free: 2.262 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 4.147e-06/0.349, allocations: 4 kB / 1.342 GB, free: 2.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.0009897/0.35, allocations: 496.8 kB / 1.342 GB, free: 1.766 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.3501, allocations: 55.41 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/0.3506, allocations: 485.9 kB / 1.343 GB, free: 1.219 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3507, allocations: 33.7 kB / 1.343 GB, free: 1.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.3509, allocations: 276.7 kB / 1.343 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.351, allocations: 154.6 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3511, allocations: 66.08 kB / 1.343 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3513, allocations: 362.8 kB / 1.344 GB, free: 320 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3515, allocations: 120.7 kB / 1.344 GB, free: 200 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.3518, allocations: 133.1 kB / 1.344 GB, free: 68 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.3523, allocations: 290.4 kB / 1.344 GB, free: 15.78 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3523, allocations: 4 kB / 1.344 GB, free: 15.78 MB / 1.045 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006798/0.353, allocations: 400.5 kB / 1.345 GB, free: 15.38 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.353, allocations: 4 kB / 1.345 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.353, allocations: 0 / 1.345 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.353, allocations: 4 kB / 1.345 GB, free: 15.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.3535, allocations: 127.9 kB / 1.345 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3535, allocations: 0 / 1.345 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.3538, allocations: 40.48 kB / 1.345 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.3538, allocations: 12 kB / 1.345 GB, free: 15.2 MB / 1.045 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.0002492/0.354, allocations: 202.2 kB / 1.345 GB, free: 14.99 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.3541, allocations: 55.61 kB / 1.345 GB, free: 14.93 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.3542, allocations: 61.11 kB / 1.345 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3542, allocations: 4 kB / 1.345 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3543, allocations: 0 / 1.345 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3543, allocations: 7.922 kB / 1.345 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006537/0.3549, allocations: 0.5469 MB / 1.346 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3549, allocations: 7.984 kB / 1.346 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.3554, allocations: 123.9 kB / 1.346 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3554, allocations: 0 / 1.346 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.3554, allocations: 8 kB / 1.346 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3555, allocations: 0 / 1.346 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3555, allocations: 0 / 1.346 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3565, allocations: 0.656 MB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3566, allocations: 67.52 kB / 1.346 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.3566, allocations: 8 kB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.3569, allocations: 11.98 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3569, allocations: 27.95 kB / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3569, allocations: 8 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004083/0.3574, allocations: 347.1 kB / 1.347 GB, free: 13 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3574, allocations: 7.938 kB / 1.347 GB, free: 13 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004121/0.3578, allocations: 147.7 kB / 1.347 GB, free: 12.85 MB / 1.045 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.00132/0.3591, allocations: 1.208 MB / 1.348 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006065/0.3597, allocations: 307.8 kB / 1.348 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3597, allocations: 0 / 1.348 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.36, allocations: 167.6 kB / 1.349 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.3606, allocations: 130.8 kB / 1.349 GB, free: 11.03 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/0.3672, allocations: 4.857 MB / 1.353 GB, free: 6.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.3677, allocations: 0.874 MB / 1.354 GB, free: 5.184 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.3679, allocations: 52.36 kB / 1.354 GB, free: 5.129 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.3682, allocations: 187.4 kB / 1.355 GB, free: 4.945 MB / 1.045 GB Notification: Performance of SimCode: time 9.82e-07/0.3682, allocations: 0 / 1.355 GB, free: 4.945 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.4045, allocations: 11.81 MB / 1.366 GB, free: 9.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.06, allocations: 6.688 kB / 1.366 GB, free: 9.426 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.649777104030363]