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.001856/0.001856, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002171/0.002171, allocations: 192.9 kB / 22.23 MB, free: 5.16 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.49/1.49, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 443.5 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002164/0.002164, allocations: 63.89 kB / 1.062 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.6672, allocations: 160.8 MB / 1.219 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005747/0.6729, allocations: 4.22 MB / 1.223 GB, free: 376 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.6766, allocations: 2.418 MB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.6771, allocations: 14.5 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.6787, allocations: 0.5391 MB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006689/0.6794, allocations: 252.9 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.6797, allocations: 143.1 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009114/0.6806, allocations: 0.8116 MB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.681, allocations: 237.1 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.6814, allocations: 302 kB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.6818, allocations: 328.9 kB / 1.228 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.052e-05/0.6819, allocations: 77.25 kB / 1.228 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.682, allocations: 75.75 kB / 1.228 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.6822, allocations: 173 kB / 1.228 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.6825, allocations: 388.7 kB / 1.228 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.6835, allocations: 0.9938 MB / 1.229 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6836, allocations: 0 / 1.229 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6836, allocations: 0 / 1.229 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.6836, allocations: 0 / 1.229 GB, free: 11.45 MB / 0.9356 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.001503/0.6851, allocations: 0.9794 MB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.6851, allocations: 9.344 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.6852, allocations: 81.02 kB / 1.23 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.6859, allocations: 459.3 kB / 1.231 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.686, allocations: 37.03 kB / 1.231 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/0.686, allocations: 51.66 kB / 1.231 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/0.6868, allocations: 431.2 kB / 1.231 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.6868, allocations: 11.94 kB / 1.231 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.6869, allocations: 20.62 kB / 1.231 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.6869, allocations: 11.31 kB / 1.231 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006991/0.6876, allocations: 364.2 kB / 1.232 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.6898, allocations: 1.516 MB / 1.233 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.6904, allocations: 323.3 kB / 1.233 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.6908, allocations: 288.8 kB / 1.234 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.6909, allocations: 4 kB / 1.234 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.6909, allocations: 38.5 kB / 1.234 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.6909, allocations: 4 kB / 1.234 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42): time 0.0009727/0.6919, allocations: 0.4895 MB / 1.234 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.6919, allocations: 55.41 kB / 1.234 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/0.6925, allocations: 489.9 kB / 1.235 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.6926, allocations: 37.64 kB / 1.235 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.6928, allocations: 284.6 kB / 1.235 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.6929, allocations: 154.6 kB / 1.235 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.693, allocations: 62.08 kB / 1.235 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.6932, allocations: 362.8 kB / 1.236 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.6935, allocations: 120.7 kB / 1.236 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.6937, allocations: 121.5 kB / 1.236 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.6943, allocations: 298.2 kB / 1.236 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6943, allocations: 4 kB / 1.236 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006866/0.695, allocations: 396.5 kB / 1.236 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.695, allocations: 8 kB / 1.236 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.695, allocations: 0 / 1.236 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.695, allocations: 0 / 1.236 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.6955, allocations: 127.8 kB / 1.237 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.6955, allocations: 4 kB / 1.237 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.6957, allocations: 43.72 kB / 1.237 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.6958, allocations: 8 kB / 1.237 GB, free: 4.41 MB / 0.9356 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.0002418/0.696, allocations: 197.8 kB / 1.237 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.6961, allocations: 55.61 kB / 1.237 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.6962, allocations: 61.11 kB / 1.237 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.6962, allocations: 4 kB / 1.237 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6962, allocations: 0 / 1.237 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.6962, allocations: 7.984 kB / 1.237 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.697, allocations: 0.5751 MB / 1.237 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.697, allocations: 4 kB / 1.237 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.6975, allocations: 131.8 kB / 1.238 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6975, allocations: 0 / 1.238 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.6975, allocations: 8 kB / 1.238 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6975, allocations: 0 / 1.238 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6975, allocations: 0 / 1.238 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.6986, allocations: 0.6523 MB / 1.238 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.6988, allocations: 140.7 kB / 1.238 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.6988, allocations: 8 kB / 1.238 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.699, allocations: 11.98 kB / 1.238 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.6991, allocations: 23.95 kB / 1.238 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.6991, allocations: 12 kB / 1.238 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004406/0.6996, allocations: 351.1 kB / 1.239 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6996, allocations: 4 kB / 1.239 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004286/0.7, allocations: 147.7 kB / 1.239 GB, free: 1.945 MB / 0.9356 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.0001457/0.7001, allocations: 123.2 kB / 1.239 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006209/0.7008, allocations: 303.5 kB / 1.239 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7008, allocations: 0 / 1.239 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.7011, allocations: 175.7 kB / 1.239 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.7017, allocations: 127.6 kB / 1.24 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.7038, allocations: 1.202 MB / 1.241 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.7044, allocations: 0.8665 MB / 1.242 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.7046, allocations: 60.27 kB / 1.242 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.7047, allocations: 39.44 kB / 1.242 GB, free: 15 MB / 0.9512 GB Notification: Performance of SimCode: time 7.82e-07/0.7047, allocations: 0 / 1.242 GB, free: 15 MB / 0.9512 GB Notification: Performance of Templates: time 0.01327/0.718, allocations: 6.266 MB / 1.248 GB, free: 8.867 MB / 0.9512 GB " [Timeout remaining time 299] 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: 8.693770850077271]