Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001613/0.001613, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.001634/0.001634, allocations: 197.2 kB / 20.08 MB, free: 3 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.519/1.519, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.668/2.668, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 176] 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 1.057 GB, free: 1.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3824, allocations: 160.7 MB / 1.214 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005071/0.3875, allocations: 3.055 MB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.3909, allocations: 2.156 MB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.3911, allocations: 7.938 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.3926, allocations: 0.4939 MB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.393, allocations: 154.8 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.3931, allocations: 55.94 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.3937, allocations: 449.9 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.3939, allocations: 103.3 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.3941, allocations: 159.3 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.3944, allocations: 183.1 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.3945, allocations: 36 kB / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.3945, allocations: 32 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3947, allocations: 95.67 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.3949, allocations: 226.9 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.3955, allocations: 0.5408 MB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3955, allocations: 4 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3955, allocations: 0 / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.3955, allocations: 3.938 kB / 1.222 GB, free: 9.074 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001165/0.3967, allocations: 0.7199 MB / 1.222 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3967, allocations: 8.031 kB / 1.222 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/0.3968, allocations: 52.66 kB / 1.222 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.3974, allocations: 390.3 kB / 1.223 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3975, allocations: 12.81 kB / 1.223 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.035e-05/0.3975, allocations: 24.38 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.3979, allocations: 207.6 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.398, allocations: 0 / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.398, allocations: 4 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.398, allocations: 8 kB / 1.223 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.3984, allocations: 165.7 kB / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.3997, allocations: 0.8586 MB / 1.224 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.4, allocations: 146.6 kB / 1.224 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.4002, allocations: 96.81 kB / 1.224 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.4003, allocations: 4 kB / 1.224 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.4003, allocations: 34.5 kB / 1.224 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.4003, allocations: 0 / 1.224 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0006454/0.4009, allocations: 263.4 kB / 1.225 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.401, allocations: 55.41 kB / 1.225 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005309/0.4015, allocations: 417.7 kB / 1.225 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.4015, allocations: 29.7 kB / 1.225 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.4017, allocations: 208.3 kB / 1.225 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.4018, allocations: 71.41 kB / 1.225 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.4019, allocations: 29.72 kB / 1.225 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.402, allocations: 350.8 kB / 1.226 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4022, allocations: 59.97 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.4023, allocations: 58.02 kB / 1.226 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.4026, allocations: 139 kB / 1.226 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4026, allocations: 3.938 kB / 1.226 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004056/0.403, allocations: 209.4 kB / 1.226 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4031, allocations: 8 kB / 1.226 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4031, allocations: 0 / 1.226 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.4031, allocations: 7.922 kB / 1.226 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.4034, allocations: 55.91 kB / 1.226 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4034, allocations: 0 / 1.226 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.4035, allocations: 19.88 kB / 1.226 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.4035, allocations: 4 kB / 1.226 GB, free: 4.18 MB / 0.9669 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 (20): * Single equations (assignments): 20 * 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.0001791/0.4037, allocations: 157.8 kB / 1.226 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.4038, allocations: 43.77 kB / 1.226 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.298e-05/0.4039, allocations: 47.52 kB / 1.226 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4039, allocations: 3.984 kB / 1.226 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4039, allocations: 0 / 1.226 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4039, allocations: 0 / 1.226 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.4043, allocations: 381.2 kB / 1.227 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4043, allocations: 0 / 1.227 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.4046, allocations: 63.83 kB / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4046, allocations: 0 / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.4046, allocations: 7.938 kB / 1.227 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4046, allocations: 4 kB / 1.227 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4046, allocations: 4 kB / 1.227 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006481/0.4053, allocations: 372.9 kB / 1.227 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.4054, allocations: 128.8 kB / 1.227 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.4055, allocations: 3.938 kB / 1.227 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.4056, allocations: 12.06 kB / 1.227 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.4057, allocations: 7.984 kB / 1.227 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.4057, allocations: 8 kB / 1.227 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003451/0.406, allocations: 303.1 kB / 1.228 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.406, allocations: 0 / 1.228 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003285/0.4063, allocations: 71.89 kB / 1.228 GB, free: 2.5 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0002147/0.4066, allocations: 107.2 kB / 1.228 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003956/0.4069, allocations: 143.8 kB / 1.228 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.407, allocations: 0 / 1.228 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.4071, allocations: 75.91 kB / 1.228 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.4077, allocations: 93.05 kB / 1.228 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.4092, allocations: 0.8047 MB / 1.229 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.4097, allocations: 0.799 MB / 1.23 GB, free: 432 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.4098, allocations: 27.44 kB / 1.23 GB, free: 404 kB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.4098, allocations: 0 / 1.23 GB, free: 404 kB / 0.9669 GB Notification: Performance of Templates: time 0.008189/0.4179, allocations: 4.41 MB / 1.234 GB, free: 12.03 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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: 11.86641559493728]