Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001747/0.001747, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002073/0.002073, allocations: 197.8 kB / 22.17 MB, free: 5.211 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.513/1.513, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.825/2.825, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 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: 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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 73.34 kB / 1.109 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 168.7 MB / 1.274 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004676/0.3095, allocations: 3.08 MB / 1.277 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.3127, allocations: 2.156 MB / 1.279 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.313, allocations: 4 kB / 1.279 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.3146, allocations: 0.4899 MB / 1.28 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.3151, allocations: 158.8 kB / 1.28 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3153, allocations: 55.95 kB / 1.28 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.3159, allocations: 457.2 kB / 1.28 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.3161, allocations: 103.3 kB / 1.28 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.3164, allocations: 163.3 kB / 1.281 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.3166, allocations: 179.2 kB / 1.281 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.3167, allocations: 35.94 kB / 1.281 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.969e-05/0.3167, allocations: 40 kB / 1.281 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3169, allocations: 99.61 kB / 1.281 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.3171, allocations: 211 kB / 1.281 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006599/0.3177, allocations: 0.5524 MB / 1.282 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3177, allocations: 0 / 1.282 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3178, allocations: 0 / 1.282 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3178, allocations: 4 kB / 1.282 GB, free: 3.445 MB / 0.9825 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.00127/0.319, allocations: 0.7159 MB / 1.282 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.3191, allocations: 12.03 kB / 1.282 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3192, allocations: 48.64 kB / 1.282 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.3198, allocations: 374.5 kB / 1.283 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3198, allocations: 16.81 kB / 1.283 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.3199, allocations: 24.38 kB / 1.283 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.3203, allocations: 203.6 kB / 1.283 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3203, allocations: 0 / 1.283 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3203, allocations: 12 kB / 1.283 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3204, allocations: 4 kB / 1.283 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.3208, allocations: 169.6 kB / 1.283 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.3221, allocations: 0.8625 MB / 1.284 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.3224, allocations: 146.5 kB / 1.284 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.3227, allocations: 107.2 kB / 1.284 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3227, allocations: 8.312 kB / 1.284 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3227, allocations: 30.56 kB / 1.284 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3227, allocations: 0 / 1.284 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0006743/0.3234, allocations: 262.7 kB / 1.285 GB, free: 296 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3234, allocations: 51.41 kB / 1.285 GB, free: 232 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.324, allocations: 421.6 kB / 1.285 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.324, allocations: 33.7 kB / 1.285 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.3242, allocations: 200.4 kB / 1.285 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.3242, allocations: 71.42 kB / 1.285 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.3243, allocations: 29.72 kB / 1.285 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3245, allocations: 346.8 kB / 1.286 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3246, allocations: 51.97 kB / 1.286 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3248, allocations: 59.97 kB / 1.286 GB, free: 15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.3251, allocations: 143.2 kB / 1.286 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3251, allocations: 4 kB / 1.286 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004222/0.3255, allocations: 201.4 kB / 1.286 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3255, allocations: 10.03 kB / 1.286 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3255, allocations: 0 / 1.286 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.3256, allocations: 7.875 kB / 1.286 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.3258, allocations: 63.89 kB / 1.286 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.3258, allocations: 4 kB / 1.286 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.326, allocations: 15.89 kB / 1.286 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.326, allocations: 4 kB / 1.286 GB, free: 14.55 MB / 0.9981 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.0001771/0.3262, allocations: 165.8 kB / 1.286 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.3263, allocations: 35.77 kB / 1.286 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.609e-05/0.3263, allocations: 47.52 kB / 1.286 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3263, allocations: 4 kB / 1.286 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3264, allocations: 4 kB / 1.286 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3264, allocations: 3.984 kB / 1.286 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.3268, allocations: 373.3 kB / 1.287 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3268, allocations: 3.938 kB / 1.287 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.3271, allocations: 55.97 kB / 1.287 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3271, allocations: 3.984 kB / 1.287 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.3271, allocations: 3.938 kB / 1.287 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3271, allocations: 0 / 1.287 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3271, allocations: 4 kB / 1.287 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.3278, allocations: 377 kB / 1.287 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.3279, allocations: 124.8 kB / 1.287 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.328, allocations: 7.938 kB / 1.287 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3281, allocations: 11.98 kB / 1.287 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.3282, allocations: 7.984 kB / 1.287 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3282, allocations: 8.062 kB / 1.287 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000387/0.3286, allocations: 307.1 kB / 1.288 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3286, allocations: 4 kB / 1.288 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003277/0.3289, allocations: 67.89 kB / 1.288 GB, free: 12.88 MB / 0.9981 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.0001646/0.3291, allocations: 111.7 kB / 1.288 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.3295, allocations: 139.9 kB / 1.288 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3295, allocations: 4 kB / 1.288 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.3297, allocations: 69.94 kB / 1.288 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.3303, allocations: 101.4 kB / 1.288 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3317, allocations: 0.7797 MB / 1.289 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.3321, allocations: 0.7951 MB / 1.29 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.3322, allocations: 34.97 kB / 1.29 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.3323, allocations: 23.44 kB / 1.29 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.3323, allocations: 0 / 1.29 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.009279/0.3416, allocations: 4.064 MB / 1.294 GB, free: 6.82 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.53784342482686]