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.001769/0.001769, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002716/0.002716, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.384/1.384, allocations: 230.6 MB / 252.8 MB, free: 8.957 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 2.992/2.992, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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="me",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="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.002002/0.002002, allocations: 69.64 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3108, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005864/0.3166, allocations: 4.191 MB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003753/0.3204, allocations: 2.464 MB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.3208, allocations: 11.94 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.3226, allocations: 0.5598 MB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.3232, allocations: 242.1 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.3235, allocations: 143.8 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.3245, allocations: 0.813 MB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.3249, allocations: 230.6 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.3254, allocations: 306.9 kB / 1.33 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004869/0.3259, allocations: 330.6 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.326, allocations: 72 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3262, allocations: 79.94 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.3263, allocations: 163.5 kB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.3268, allocations: 394.2 kB / 1.331 GB, free: 9.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009962/0.3278, allocations: 0.9923 MB / 1.332 GB, free: 8.324 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3278, allocations: 0 / 1.332 GB, free: 8.324 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3278, allocations: 4 kB / 1.332 GB, free: 8.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.3278, allocations: 0 / 1.332 GB, free: 8.32 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.001648/0.3295, allocations: 0.9652 MB / 1.333 GB, free: 7.301 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3295, allocations: 11.98 kB / 1.333 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.3296, allocations: 90.7 kB / 1.333 GB, free: 7.191 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.3297, allocations: 80.47 kB / 1.333 GB, free: 7.113 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.3304, allocations: 458 kB / 1.333 GB, free: 6.633 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.3304, allocations: 37.38 kB / 1.333 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.3305, allocations: 48.38 kB / 1.333 GB, free: 6.547 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/0.3313, allocations: 430.5 kB / 1.334 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3313, allocations: 4 kB / 1.334 GB, free: 6.113 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.3314, allocations: 16 kB / 1.334 GB, free: 6.098 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3314, allocations: 12 kB / 1.334 GB, free: 6.086 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007075/0.3321, allocations: 367.8 kB / 1.334 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.3343, allocations: 1.532 MB / 1.335 GB, free: 4.121 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.3348, allocations: 311.4 kB / 1.336 GB, free: 3.805 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.3353, allocations: 293.4 kB / 1.336 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.3353, allocations: 7.938 kB / 1.336 GB, free: 3.508 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3353, allocations: 42.33 kB / 1.336 GB, free: 3.457 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.3353, allocations: 0 / 1.336 GB, free: 3.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.0009777/0.3363, allocations: 0.489 MB / 1.337 GB, free: 2.961 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3364, allocations: 55.41 kB / 1.337 GB, free: 2.895 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005799/0.3369, allocations: 485.9 kB / 1.337 GB, free: 2.414 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.337, allocations: 29.7 kB / 1.337 GB, free: 2.379 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.3372, allocations: 280.7 kB / 1.337 GB, free: 2.102 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3373, allocations: 150.7 kB / 1.338 GB, free: 1.953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3374, allocations: 62.08 kB / 1.338 GB, free: 1.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3376, allocations: 362.8 kB / 1.338 GB, free: 1.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.3378, allocations: 120.7 kB / 1.338 GB, free: 1.402 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.3381, allocations: 129.4 kB / 1.338 GB, free: 1.277 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.3386, allocations: 298.1 kB / 1.338 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3386, allocations: 0 / 1.338 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006798/0.3393, allocations: 400.5 kB / 1.339 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3393, allocations: 4 kB / 1.339 GB, free: 0.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3393, allocations: 0 / 1.339 GB, free: 0.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3393, allocations: 4 kB / 1.339 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.3398, allocations: 123.9 kB / 1.339 GB, free: 468 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3398, allocations: 3.938 kB / 1.339 GB, free: 464 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.3401, allocations: 43.66 kB / 1.339 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.3401, allocations: 12 kB / 1.339 GB, free: 408 kB / 1.029 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.0002111/0.3403, allocations: 197.8 kB / 1.339 GB, free: 200 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.3404, allocations: 55.61 kB / 1.339 GB, free: 144 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.3405, allocations: 61.11 kB / 1.339 GB, free: 80 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3405, allocations: 4 kB / 1.339 GB, free: 76 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.3405, allocations: 0 / 1.339 GB, free: 76 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3405, allocations: 7.922 kB / 1.339 GB, free: 68 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.3412, allocations: 0.5752 MB / 1.34 GB, free: 15.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3412, allocations: 3.938 kB / 1.34 GB, free: 15.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.3417, allocations: 127.9 kB / 1.34 GB, free: 15.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3417, allocations: 0 / 1.34 GB, free: 15.31 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.3417, allocations: 12 kB / 1.34 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3417, allocations: 0 / 1.34 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3417, allocations: 0 / 1.34 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3427, allocations: 0.6599 MB / 1.341 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.3429, allocations: 140.6 kB / 1.341 GB, free: 14.47 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.3429, allocations: 8 kB / 1.341 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.3431, allocations: 11.98 kB / 1.341 GB, free: 14.45 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.3432, allocations: 23.97 kB / 1.341 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.3432, allocations: 12 kB / 1.341 GB, free: 14.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003886/0.3436, allocations: 347.1 kB / 1.341 GB, free: 14.08 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3436, allocations: 0 / 1.341 GB, free: 14.08 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004012/0.344, allocations: 147.7 kB / 1.341 GB, free: 13.93 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.001305/0.3453, allocations: 1.216 MB / 1.343 GB, free: 12.69 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000583/0.3459, allocations: 303.7 kB / 1.343 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3459, allocations: 0 / 1.343 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.3462, allocations: 171.5 kB / 1.343 GB, free: 12.23 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.3468, allocations: 129.8 kB / 1.343 GB, free: 12.1 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/0.3531, allocations: 4.833 MB / 1.348 GB, free: 7.184 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.3536, allocations: 0.8703 MB / 1.349 GB, free: 6.289 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.3538, allocations: 56.34 kB / 1.349 GB, free: 6.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.3541, allocations: 191.4 kB / 1.349 GB, free: 6.043 MB / 1.045 GB Notification: Performance of SimCode: time 1.012e-06/0.3541, allocations: 3.938 kB / 1.349 GB, free: 6.039 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.3919, allocations: 11.51 MB / 1.36 GB, free: 10.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.875, allocations: 3.781 kB / 1.36 GB, free: 10.83 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.199352218070999]