Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001644/0.001644, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001875/0.001875, allocations: 192.5 kB / 22.17 MB, free: 5.656 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.429/1.429, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.768/2.768, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.88 kB / 1.109 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7764, allocations: 168.7 MB / 1.274 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006107/0.7825, allocations: 4.192 MB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004199/0.7867, allocations: 2.425 MB / 1.281 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.7872, allocations: 8 kB / 1.281 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.7889, allocations: 0.5391 MB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000637/0.7896, allocations: 258 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.7899, allocations: 139.8 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009469/0.7908, allocations: 0.8136 MB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.7912, allocations: 230.6 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.7916, allocations: 287 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/0.7921, allocations: 330.6 kB / 1.283 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.562e-05/0.7922, allocations: 79.94 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.7923, allocations: 72 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.7925, allocations: 175.4 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.7928, allocations: 390.2 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.794, allocations: 0.9962 MB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.465e-06/0.794, allocations: 4 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.794, allocations: 0 / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.21e-05/0.794, allocations: 0 / 1.285 GB, free: 9.555 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001783/0.7958, allocations: 0.969 MB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.7958, allocations: 12.03 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.796, allocations: 88.47 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/0.7968, allocations: 454.1 kB / 1.286 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.7968, allocations: 37.38 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.503e-05/0.7969, allocations: 52.33 kB / 1.286 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008655/0.7977, allocations: 426.8 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.7978, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.7978, allocations: 23.94 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.7978, allocations: 16 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.7986, allocations: 367.8 kB / 1.287 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.801, allocations: 1.524 MB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.8016, allocations: 318.9 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.8021, allocations: 289.4 kB / 1.289 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.8021, allocations: 4.766 kB / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.8022, allocations: 42.28 kB / 1.289 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=42): time 2.534e-06/0.8022, allocations: 0 / 1.289 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42): time 0.001102/0.8033, allocations: 0.4901 MB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.8033, allocations: 55.41 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006716/0.804, allocations: 485.9 kB / 1.29 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.804, allocations: 33.7 kB / 1.29 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.8043, allocations: 280.6 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.8045, allocations: 162.6 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.8046, allocations: 58.08 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.8048, allocations: 366.7 kB / 1.291 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.805, allocations: 124.7 kB / 1.291 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.8053, allocations: 121.4 kB / 1.291 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.8059, allocations: 294.2 kB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8059, allocations: 0 / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007459/0.8066, allocations: 404.5 kB / 1.292 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.8066, allocations: 4 kB / 1.292 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8067, allocations: 0 / 1.292 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.8067, allocations: 4 kB / 1.292 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.8072, allocations: 131.8 kB / 1.292 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.8072, allocations: 0 / 1.292 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.8075, allocations: 35.73 kB / 1.292 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.8075, allocations: 12 kB / 1.292 GB, free: 1.715 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.0002634/0.8078, allocations: 197.8 kB / 1.292 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/0.8079, allocations: 55.61 kB / 1.292 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.808, allocations: 61.09 kB / 1.292 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.808, allocations: 4 kB / 1.292 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.808, allocations: 0 / 1.292 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.808, allocations: 3.938 kB / 1.292 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/0.8087, allocations: 0.5713 MB / 1.293 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8087, allocations: 0 / 1.293 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.8093, allocations: 135.8 kB / 1.293 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.8093, allocations: 4 kB / 1.293 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.8093, allocations: 11.94 kB / 1.293 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.8094, allocations: 4 kB / 1.293 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.8094, allocations: 7.984 kB / 1.293 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.8105, allocations: 0.6472 MB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.8107, allocations: 140.7 kB / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.8107, allocations: 15.98 kB / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.8109, allocations: 8 kB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.811, allocations: 23.97 kB / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.811, allocations: 4 kB / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004418/0.8115, allocations: 355.1 kB / 1.294 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8115, allocations: 4 kB / 1.294 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004414/0.8119, allocations: 147.7 kB / 1.294 GB, free: 15.24 MB / 0.9981 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.0001854/0.8121, allocations: 118.5 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006668/0.8128, allocations: 299.6 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8128, allocations: 0 / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.8131, allocations: 171.7 kB / 1.295 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.8138, allocations: 140.4 kB / 1.295 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.8159, allocations: 1.218 MB / 1.296 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.8165, allocations: 0.8665 MB / 1.297 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000223/0.8167, allocations: 56.38 kB / 1.297 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.945e-05/0.8168, allocations: 35.44 kB / 1.297 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.8168, allocations: 0 / 1.297 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.01307/0.8299, allocations: 6.17 MB / 1.303 GB, free: 6.27 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.678809409029782]