Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001622/0.001622, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001749/0.001749, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.47/1.47, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 443.4 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 1.059 GB, free: 296 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.29, allocations: 160.7 MB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005863/0.2958, allocations: 4.211 MB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003776/0.2996, allocations: 2.425 MB / 1.223 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.2999, allocations: 8 kB / 1.223 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.3014, allocations: 0.5441 MB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.3019, allocations: 258 kB / 1.223 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.3022, allocations: 131.9 kB / 1.224 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008666/0.3031, allocations: 0.8175 MB / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.3034, allocations: 234.5 kB / 1.225 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.3038, allocations: 287 kB / 1.225 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.3042, allocations: 330.6 kB / 1.225 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3043, allocations: 72 kB / 1.225 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3044, allocations: 80 kB / 1.225 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.3046, allocations: 179.4 kB / 1.225 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.3049, allocations: 382.3 kB / 1.226 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.306, allocations: 0.9962 MB / 1.227 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.306, allocations: 4 kB / 1.227 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.306, allocations: 0 / 1.227 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.306, allocations: 0 / 1.227 GB, free: 4.285 MB / 0.9669 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.001505/0.3076, allocations: 0.9613 MB / 1.228 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3076, allocations: 16.03 kB / 1.228 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3077, allocations: 76.47 kB / 1.228 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000677/0.3084, allocations: 466 kB / 1.228 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.3084, allocations: 41.31 kB / 1.228 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.3085, allocations: 44.38 kB / 1.228 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/0.3093, allocations: 426.8 kB / 1.229 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.3093, allocations: 7.938 kB / 1.229 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.3094, allocations: 24 kB / 1.229 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3094, allocations: 12 kB / 1.229 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.3101, allocations: 367.8 kB / 1.229 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.3123, allocations: 1.528 MB / 1.231 GB, free: 188 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.3129, allocations: 311.2 kB / 1.231 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.3134, allocations: 280.8 kB / 1.231 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3134, allocations: 4 kB / 1.231 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3134, allocations: 38.5 kB / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=42): time 1.674e-06/0.3134, allocations: 0 / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42): time 0.001027/0.3145, allocations: 0.5012 MB / 1.232 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3145, allocations: 55.41 kB / 1.232 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.3151, allocations: 485.9 kB / 1.232 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.3151, allocations: 29.7 kB / 1.232 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.3154, allocations: 284.6 kB / 1.233 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3155, allocations: 154.6 kB / 1.233 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3156, allocations: 66.08 kB / 1.233 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3158, allocations: 358.8 kB / 1.233 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.3161, allocations: 125.5 kB / 1.233 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.3163, allocations: 125.2 kB / 1.233 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.3169, allocations: 298.2 kB / 1.234 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3169, allocations: 0 / 1.234 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007106/0.3176, allocations: 404.7 kB / 1.234 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3176, allocations: 6.031 kB / 1.234 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3176, allocations: 0 / 1.234 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3176, allocations: 7.938 kB / 1.234 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.3181, allocations: 123.9 kB / 1.234 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3181, allocations: 0 / 1.234 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3183, allocations: 39.72 kB / 1.234 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.3184, allocations: 12 kB / 1.234 GB, free: 12.45 MB / 0.9825 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.0002352/0.3186, allocations: 197.8 kB / 1.234 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.3187, allocations: 55.61 kB / 1.234 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.3188, allocations: 57.11 kB / 1.235 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3188, allocations: 4 kB / 1.235 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.3188, allocations: 0 / 1.235 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3188, allocations: 3.984 kB / 1.235 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.3195, allocations: 0.5713 MB / 1.235 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3195, allocations: 0 / 1.235 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.3201, allocations: 131.8 kB / 1.235 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3201, allocations: 0 / 1.235 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.3201, allocations: 16 kB / 1.235 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3201, allocations: 0 / 1.235 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3201, allocations: 4 kB / 1.235 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3211, allocations: 0.6484 MB / 1.236 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3213, allocations: 144.6 kB / 1.236 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.3213, allocations: 11.94 kB / 1.236 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.3216, allocations: 15.98 kB / 1.236 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.3216, allocations: 20.06 kB / 1.236 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3217, allocations: 8 kB / 1.236 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004331/0.3221, allocations: 355.1 kB / 1.236 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3221, allocations: 0 / 1.236 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004109/0.3225, allocations: 155.7 kB / 1.237 GB, free: 9.988 MB / 0.9825 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.0001502/0.3226, allocations: 117.2 kB / 1.237 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006279/0.3233, allocations: 311.6 kB / 1.237 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3233, allocations: 0 / 1.237 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.3236, allocations: 163.8 kB / 1.237 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.3242, allocations: 130.3 kB / 1.237 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.3262, allocations: 1.216 MB / 1.238 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.3267, allocations: 0.8665 MB / 1.239 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.3269, allocations: 56.38 kB / 1.239 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.327, allocations: 35.44 kB / 1.239 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.327, allocations: 0 / 1.239 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of Templates: time 0.01244/0.3395, allocations: 6.183 MB / 1.245 GB, free: 0.9961 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.999948065727949]