Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003042/0.003042, allocations: 210.6 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.64/1.64, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.483/3.483, allocations: 0.49 GB / 0.7959 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBor1UTubDyn.T|TBor1UTubSteSta.T|TBor2UTubDyn.T|TBor2UTubSteSta.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBor1UTubDyn.T|TBor1UTubSteSta.T|TBor2UTubDyn.T|TBor2UTubSteSta.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 68.72 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5113, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.335/0.8463, allocations: 268.8 MB / 1.59 GB, free: 3.344 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 1.456/2.302, allocations: 65.94 MB / 1.654 GB, free: 37.1 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02946/2.332, allocations: 0.5048 MB / 1.654 GB, free: 37.1 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02205/2.354, allocations: 5.005 MB / 1.659 GB, free: 37.02 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.06266/2.416, allocations: 13.81 MB / 1.673 GB, free: 36.57 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.03706/2.453, allocations: 9.567 MB / 1.682 GB, free: 36.29 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.4834/2.937, allocations: 226.6 MB / 1.903 GB, free: 13.8 MB / 1.436 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2045/3.141, allocations: 69.41 MB / 1.971 GB, free: 9.246 MB / 1.498 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2249/3.366, allocations: 76.63 MB / 2.046 GB, free: 15.68 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1593/3.525, allocations: 65.54 MB / 2.11 GB, free: 1.875 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.04804/3.573, allocations: 10.95 MB / 2.121 GB, free: 6.926 MB / 1.639 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1166/3.69, allocations: 17.2 MB / 2.138 GB, free: 6.09 MB / 1.654 GB Notification: Performance of NFScalarize.scalarize: time 0.07115/3.761, allocations: 25.32 MB / 2.162 GB, free: 13.08 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.1781/3.939, allocations: 42.19 MB / 2.203 GB, free: 3.082 MB / 1.717 GB Notification: Performance of NFConvertDAE.convert: time 3.053/6.993, allocations: 184.5 MB / 2.384 GB, free: 287.7 MB / 1.779 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/6.993, allocations: 2 kB / 2.384 GB, free: 287.7 MB / 1.779 GB Notification: Performance of FrontEnd: time 3.757e-06/6.993, allocations: 0.6562 kB / 2.384 GB, free: 287.7 MB / 1.779 GB Notification: Performance of Transformations before backend: time 0.008202/7.001, allocations: 0 / 2.384 GB, free: 287.7 MB / 1.779 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12889 * Number of variables: 12889 Notification: Performance of Generate backend data structure: time 0.4458/7.447, allocations: 96.16 MB / 2.478 GB, free: 241.3 MB / 1.779 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/7.447, allocations: 12.59 kB / 2.478 GB, free: 241.3 MB / 1.779 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0741/7.521, allocations: 9.655 MB / 2.487 GB, free: 236.3 MB / 1.779 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2511/7.772, allocations: 93.16 MB / 2.578 GB, free: 195.4 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005447/7.778, allocations: 3.796 MB / 2.582 GB, free: 193.7 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03577/7.813, allocations: 5.065 MB / 2.587 GB, free: 192 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2831/8.096, allocations: 87.52 MB / 2.672 GB, free: 101.6 MB / 1.779 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004432/8.101, allocations: 143.6 kB / 2.672 GB, free: 101.5 MB / 1.779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03465/8.135, allocations: 2.095 MB / 2.674 GB, free: 99.39 MB / 1.779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/8.137, allocations: 1.467 MB / 2.676 GB, free: 97.94 MB / 1.779 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2047/8.342, allocations: 66.16 MB / 2.74 GB, free: 32.18 MB / 1.779 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.294/10.64, allocations: 258.8 MB / 2.993 GB, free: 0.6315 GB / 1.998 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1103/10.75, allocations: 38.81 MB / 3.031 GB, free: 0.6302 GB / 1.998 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06441/10.81, allocations: 24.06 MB / 3.054 GB, free: 0.6297 GB / 1.998 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006358/10.82, allocations: 0.9166 MB / 3.055 GB, free: 0.6296 GB / 1.998 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009704/10.82, allocations: 402 kB / 3.056 GB, free: 0.6296 GB / 1.998 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05994/10.88, allocations: 2.381 MB / 3.058 GB, free: 0.6296 GB / 1.998 GB Notification: Performance of pre-optimization done (n=2661): time 0.0001876/10.88, allocations: 3.281 kB / 3.058 GB, free: 0.6296 GB / 1.998 GB Notification: Performance of matching and sorting (n=2661): time 0.2176/11.1, allocations: 62.72 MB / 3.119 GB, free: 0.6169 GB / 1.998 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004629/11.1, allocations: 0.8296 MB / 3.12 GB, free: 0.6162 GB / 1.998 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2694/11.37, allocations: 78.27 MB / 3.197 GB, free: 0.5921 GB / 1.998 GB Notification: Performance of collectPreVariables (initialization): time 0.0119/11.38, allocations: 0.6029 MB / 3.197 GB, free: 0.5917 GB / 1.998 GB Notification: Performance of collectInitialEqns (initialization): time 0.06956/11.45, allocations: 35.86 MB / 3.232 GB, free: 0.5692 GB / 1.998 GB Notification: Performance of collectInitialBindings (initialization): time 0.02722/11.47, allocations: 9.917 MB / 3.242 GB, free: 0.5609 GB / 1.998 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.06476/11.54, allocations: 8.85 MB / 3.251 GB, free: 0.5562 GB / 1.998 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/11.54, allocations: 303 kB / 3.251 GB, free: 0.5559 GB / 1.998 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0548/11.59, allocations: 21.99 MB / 3.272 GB, free: 0.535 GB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07364/11.67, allocations: 39 MB / 3.31 GB, free: 0.4916 GB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1187/11.79, allocations: 51.85 MB / 3.361 GB, free: 448.8 MB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006313/11.79, allocations: 68 kB / 3.361 GB, free: 448.7 MB / 1.998 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.2067/11.99, allocations: 68.76 MB / 3.428 GB, free: 379.6 MB / 1.998 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006649/11.99, allocations: 108 kB / 3.428 GB, free: 379.5 MB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001704/12, allocations: 359.1 kB / 3.429 GB, free: 379.2 MB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05749/12.05, allocations: 41.11 MB / 3.469 GB, free: 337.7 MB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03578/12.09, allocations: 7.8 MB / 3.476 GB, free: 329.9 MB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09379/12.18, allocations: 126.3 MB / 3.6 GB, free: 197.5 MB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07687/12.26, allocations: 2.974 MB / 3.603 GB, free: 194.5 MB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01468/12.27, allocations: 1.613 MB / 3.604 GB, free: 192.9 MB / 1.998 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1257/12.4, allocations: 50.05 MB / 3.653 GB, free: 142.8 MB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06581/12.47, allocations: 38.97 MB / 3.691 GB, free: 98.33 MB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1029/12.57, allocations: 51.8 MB / 3.742 GB, free: 42.96 MB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003912/12.57, allocations: 68 kB / 3.742 GB, free: 42.89 MB / 1.998 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 1.697/14.27, allocations: 68.71 MB / 3.809 GB, free: 0.6011 GB / 1.998 GB Notification: Performance of prepare postOptimizeDAE: time 0.000355/14.27, allocations: 108.8 kB / 3.809 GB, free: 0.6011 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001795/14.27, allocations: 358.1 kB / 3.809 GB, free: 0.6011 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06726/14.34, allocations: 41.03 MB / 3.849 GB, free: 0.6002 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03518/14.37, allocations: 7.795 MB / 3.857 GB, free: 0.6002 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1238/14.49, allocations: 128.4 MB / 3.982 GB, free: 0.5167 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08144/14.58, allocations: 3.616 MB / 3.986 GB, free: 0.516 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01747/14.59, allocations: 1.605 MB / 3.988 GB, free: 0.5157 GB / 1.998 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1088 * 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 (4218): * Single equations (assignments): 4114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 64 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 60 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(32,530), (1,4), (1,4), (11,229)} Notification: Performance of prepare postOptimizeDAE: time 0.02861/14.62, allocations: 2.426 MB / 3.99 GB, free: 0.514 GB / 1.998 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04348/14.67, allocations: 6.014 MB / 3.996 GB, free: 0.514 GB / 1.998 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1765/14.84, allocations: 51.2 MB / 4.046 GB, free: 0.4907 GB / 1.998 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1147/14.96, allocations: 39.87 MB / 4.085 GB, free: 468.4 MB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002263/14.96, allocations: 10.73 kB / 4.085 GB, free: 468.4 MB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.07008/15.03, allocations: 13.41 MB / 4.098 GB, free: 459.4 MB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04138/15.07, allocations: 0.5296 MB / 4.098 GB, free: 458.9 MB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06579/15.13, allocations: 1.927 MB / 4.1 GB, free: 457.8 MB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01117/15.15, allocations: 1.648 MB / 4.102 GB, free: 457 MB / 1.998 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1564/15.3, allocations: 55.54 MB / 4.156 GB, free: 407.6 MB / 1.998 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1743/15.48, allocations: 63.7 MB / 4.218 GB, free: 343.7 MB / 1.998 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03614/15.51, allocations: 17.96 MB / 4.236 GB, free: 325.7 MB / 1.998 GB Notification: Performance of sorting global known variables: time 0.1506/15.66, allocations: 55.1 MB / 4.29 GB, free: 270.9 MB / 1.998 GB Notification: Performance of Backend: time 1.312e-06/15.66, allocations: 3.5 kB / 4.29 GB, free: 270.9 MB / 1.998 GB Notification: Performance of simCode: created initialization part: time 0.285/15.95, allocations: 81.72 MB / 4.369 GB, free: 188 MB / 1.998 GB Notification: Performance of SimCode: time 0.5952/16.54, allocations: 185.9 MB / 4.551 GB, free: 2.914 MB / 1.998 GB Notification: Performance of Templates: time 8.018/24.56, allocations: 1.538 GB / 6.089 GB, free: 0.5711 GB / 1.999 GB " [Timeout remaining time 275] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeDynamics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.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: 78.14979511199635]