Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 112.5 kB / 16.42 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 183.9 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 68.11 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 151.6 MB / 1.167 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.07635/1.094, allocations: 70.28 MB / 1.236 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02848/1.122, allocations: 17.72 MB / 1.253 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/1.126, allocations: 71.62 kB / 1.253 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004582/1.13, allocations: 1.212 MB / 1.255 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008439/1.139, allocations: 2.483 MB / 1.257 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009019/1.148, allocations: 2.941 MB / 1.26 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.06532/1.213, allocations: 38.52 MB / 1.297 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03168/1.245, allocations: 17.22 MB / 1.314 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02831/1.273, allocations: 12.56 MB / 1.327 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02274/1.296, allocations: 11.15 MB / 1.337 GB, free: 5.363 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.006938/1.303, allocations: 1.949 MB / 1.339 GB, free: 3.414 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0178/1.321, allocations: 4.543 MB / 1.344 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.009341/1.33, allocations: 4.456 MB / 1.348 GB, free: 10.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.02297/1.353, allocations: 9.454 MB / 1.357 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.04833/1.402, allocations: 33.59 MB / 1.39 GB, free: 15.21 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.402, allocations: 0 / 1.39 GB, free: 15.21 MB / 1.123 GB Notification: Performance of FrontEnd: time 6.041e-06/1.402, allocations: 0 / 1.39 GB, free: 15.21 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.001013/1.403, allocations: 3.938 kB / 1.39 GB, free: 15.21 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.06046/1.463, allocations: 17.37 MB / 1.407 GB, free: 13.69 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/1.463, allocations: 8.922 kB / 1.407 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/1.473, allocations: 1.71 MB / 1.409 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03924/1.513, allocations: 16.42 MB / 1.425 GB, free: 11.47 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008539/1.514, allocations: 0.6375 MB / 1.425 GB, free: 10.83 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004271/1.518, allocations: 0.8671 MB / 1.426 GB, free: 9.961 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04166/1.56, allocations: 12.86 MB / 1.439 GB, free: 12.81 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005896/1.56, allocations: 31.78 kB / 1.439 GB, free: 12.78 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003695/1.564, allocations: 360 kB / 1.439 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/1.564, allocations: 208 kB / 1.439 GB, free: 12.22 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02896/1.593, allocations: 11.18 MB / 1.45 GB, free: 1.016 MB / 1.17 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 0.1166/1.71, allocations: 53.44 MB / 1.503 GB, free: 9.461 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/1.722, allocations: 5.933 MB / 1.508 GB, free: 3.508 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007415/1.729, allocations: 3.952 MB / 1.512 GB, free: 15.54 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002678/1.732, allocations: 2.187 MB / 1.514 GB, free: 12.89 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/1.732, allocations: 90.36 kB / 1.514 GB, free: 12.8 MB / 1.248 GB Notification: Performance of pre-optimization done (n=484): time 2.063e-05/1.732, allocations: 0 / 1.514 GB, free: 12.8 MB / 1.248 GB Notification: Performance of matching and sorting (n=484): time 0.03098/1.763, allocations: 12.7 MB / 1.527 GB, free: 15.66 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/1.764, allocations: 364.2 kB / 1.527 GB, free: 15.23 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04466/1.808, allocations: 16.03 MB / 1.543 GB, free: 15.27 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001812/1.81, allocations: 133.6 kB / 1.543 GB, free: 15.13 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.01119/1.821, allocations: 5.992 MB / 1.549 GB, free: 9.113 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00388/1.825, allocations: 1.805 MB / 1.551 GB, free: 7.293 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006946/1.832, allocations: 1.516 MB / 1.552 GB, free: 5.77 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.832, allocations: 309.1 kB / 1.552 GB, free: 5.465 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008032/1.84, allocations: 3.821 MB / 1.556 GB, free: 1.637 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707/3.548, allocations: 5.875 MB / 1.562 GB, free: 338.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01847/3.566, allocations: 9.03 MB / 1.571 GB, free: 335.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001691/3.566, allocations: 10.19 kB / 1.571 GB, free: 335.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.03241/3.599, allocations: 11.71 MB / 1.582 GB, free: 331.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/3.599, allocations: 22.34 kB / 1.582 GB, free: 331.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003044/3.599, allocations: 64.34 kB / 1.582 GB, free: 331.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/3.602, allocations: 1.014 MB / 1.583 GB, free: 331.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006563/3.608, allocations: 1.571 MB / 1.585 GB, free: 331.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02346/3.632, allocations: 36.64 MB / 1.62 GB, free: 298.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/3.646, allocations: 1.116 MB / 1.622 GB, free: 297.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002145/3.648, allocations: 290.9 kB / 1.622 GB, free: 297.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01988/3.668, allocations: 8.861 MB / 1.63 GB, free: 289.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0104/3.678, allocations: 5.884 MB / 1.636 GB, free: 283.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01615/3.694, allocations: 9.009 MB / 1.645 GB, free: 273.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.574e-05/3.694, allocations: 16 kB / 1.645 GB, free: 273.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.03121/3.726, allocations: 11.7 MB / 1.656 GB, free: 262.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.707e-05/3.726, allocations: 24 kB / 1.656 GB, free: 262.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002605/3.726, allocations: 67.98 kB / 1.657 GB, free: 262.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/3.728, allocations: 1.028 MB / 1.658 GB, free: 261.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006427/3.735, allocations: 1.568 MB / 1.659 GB, free: 259.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/3.757, allocations: 36.64 MB / 1.695 GB, free: 220.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01462/3.771, allocations: 1.042 MB / 1.696 GB, free: 219.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002102/3.774, allocations: 295.9 kB / 1.696 GB, free: 219 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (837): * Single equations (assignments): 807 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003899/3.777, allocations: 0.5757 MB / 1.697 GB, free: 218.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006102/3.784, allocations: 1.23 MB / 1.698 GB, free: 217.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02171/3.805, allocations: 8.615 MB / 1.706 GB, free: 208.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01189/3.817, allocations: 6.566 MB / 1.713 GB, free: 201.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/3.817, allocations: 1.531 kB / 1.713 GB, free: 201.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009914/3.827, allocations: 2.699 MB / 1.715 GB, free: 199.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006201/3.833, allocations: 120 kB / 1.715 GB, free: 199.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01008/3.844, allocations: 317.6 kB / 1.716 GB, free: 198.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001486/3.845, allocations: 327.3 kB / 1.716 GB, free: 198.5 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01975/3.865, allocations: 8.766 MB / 1.725 GB, free: 189.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02258/3.887, allocations: 11.88 MB / 1.736 GB, free: 177.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005067/3.893, allocations: 3.255 MB / 1.739 GB, free: 174.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.02863/3.921, allocations: 11.35 MB / 1.751 GB, free: 163.3 MB / 1.279 GB Notification: Performance of Backend: time 2.404e-06/3.921, allocations: 1.5 kB / 1.751 GB, free: 163.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.04739/3.969, allocations: 17.43 MB / 1.768 GB, free: 145.4 MB / 1.279 GB Notification: Performance of SimCode: time 0.08914/4.058, allocations: 34.26 MB / 1.801 GB, free: 111.3 MB / 1.279 GB Notification: Performance of Templates: time 0.4522/4.51, allocations: 289.3 MB / 2.084 GB, free: 15.41 MB / 1.467 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches