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.00117/0.00117, allocations: 108.3 kB / 16.41 MB, free: 6.434 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.001328/0.001328, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.05 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.558/2.558, allocations: 437 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 151.6 MB / 1.167 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.0712/1.147, allocations: 70.27 MB / 1.236 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02548/1.173, allocations: 17.72 MB / 1.253 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003504/1.176, allocations: 71.62 kB / 1.253 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004152/1.18, allocations: 1.22 MB / 1.255 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007702/1.188, allocations: 2.483 MB / 1.257 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008881/1.197, allocations: 2.935 MB / 1.26 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.06043/1.258, allocations: 38.52 MB / 1.297 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03106/1.289, allocations: 17.22 MB / 1.314 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02948/1.318, allocations: 12.56 MB / 1.327 GB, free: 484 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02306/1.341, allocations: 11.15 MB / 1.337 GB, free: 5.277 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.007334/1.349, allocations: 1.945 MB / 1.339 GB, free: 3.332 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01946/1.368, allocations: 4.547 MB / 1.344 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.01067/1.379, allocations: 4.448 MB / 1.348 GB, free: 10.32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0275/1.406, allocations: 9.454 MB / 1.357 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.05211/1.459, allocations: 33.59 MB / 1.39 GB, free: 15.14 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/1.459, allocations: 4 kB / 1.39 GB, free: 15.13 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.053e-06/1.459, allocations: 0 / 1.39 GB, free: 15.13 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.001034/1.46, allocations: 0 / 1.39 GB, free: 15.13 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.06179/1.522, allocations: 17.38 MB / 1.407 GB, free: 13.61 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.917e-05/1.522, allocations: 12.86 kB / 1.407 GB, free: 13.6 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/1.533, allocations: 1.706 MB / 1.409 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04333/1.576, allocations: 16.42 MB / 1.425 GB, free: 11.39 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/1.577, allocations: 0.6375 MB / 1.425 GB, free: 10.75 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004755/1.582, allocations: 0.8593 MB / 1.426 GB, free: 9.887 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04342/1.625, allocations: 12.86 MB / 1.439 GB, free: 12.73 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007258/1.626, allocations: 35.77 kB / 1.439 GB, free: 12.69 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004271/1.631, allocations: 356 kB / 1.439 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002643/1.631, allocations: 204 kB / 1.439 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0316/1.662, allocations: 11.18 MB / 1.45 GB, free: 0.9375 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.1187/1.781, allocations: 53.44 MB / 1.503 GB, free: 9.383 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/1.794, allocations: 5.937 MB / 1.508 GB, free: 3.43 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008141/1.802, allocations: 3.944 MB / 1.512 GB, free: 15.47 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002929/1.805, allocations: 2.191 MB / 1.514 GB, free: 12.82 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/1.806, allocations: 94.3 kB / 1.514 GB, free: 12.72 MB / 1.248 GB Notification: Performance of pre-optimization done (n=484): time 2.06e-05/1.806, allocations: 0 / 1.514 GB, free: 12.72 MB / 1.248 GB Notification: Performance of matching and sorting (n=484): time 0.03483/1.841, allocations: 12.69 MB / 1.527 GB, free: 15.59 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000233/1.841, allocations: 372.1 kB / 1.527 GB, free: 15.15 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04599/1.887, allocations: 16.03 MB / 1.543 GB, free: 15.19 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002436/1.889, allocations: 129.7 kB / 1.543 GB, free: 15.06 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.01274/1.902, allocations: 5.992 MB / 1.549 GB, free: 9.039 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003957/1.906, allocations: 1.809 MB / 1.551 GB, free: 7.215 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00707/1.913, allocations: 1.512 MB / 1.552 GB, free: 5.695 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.913, allocations: 305.1 kB / 1.552 GB, free: 5.395 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009238/1.923, allocations: 3.824 MB / 1.556 GB, free: 1.562 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732/3.654, allocations: 5.883 MB / 1.562 GB, free: 338.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/3.67, allocations: 9.029 MB / 1.571 GB, free: 335.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.947e-05/3.67, allocations: 10.98 kB / 1.571 GB, free: 335.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.02789/3.698, allocations: 11.7 MB / 1.582 GB, free: 331.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/3.698, allocations: 23.12 kB / 1.582 GB, free: 331.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/3.698, allocations: 63.95 kB / 1.582 GB, free: 331.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/3.7, allocations: 1.024 MB / 1.583 GB, free: 331.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005975/3.706, allocations: 1.571 MB / 1.585 GB, free: 331.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/3.728, allocations: 36.63 MB / 1.62 GB, free: 298 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01349/3.742, allocations: 1.122 MB / 1.622 GB, free: 297.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001977/3.744, allocations: 289.9 kB / 1.622 GB, free: 297.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0185/3.762, allocations: 8.859 MB / 1.63 GB, free: 289.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008716/3.771, allocations: 5.877 MB / 1.636 GB, free: 283.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01362/3.785, allocations: 9.017 MB / 1.645 GB, free: 273.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.22e-05/3.785, allocations: 12 kB / 1.645 GB, free: 273.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02459/3.809, allocations: 11.7 MB / 1.656 GB, free: 262.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/3.809, allocations: 25 kB / 1.656 GB, free: 262.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/3.81, allocations: 63.98 kB / 1.657 GB, free: 262.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/3.812, allocations: 1.028 MB / 1.658 GB, free: 261 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005445/3.817, allocations: 1.572 MB / 1.659 GB, free: 259.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/3.838, allocations: 36.64 MB / 1.695 GB, free: 220.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0135/3.851, allocations: 1.047 MB / 1.696 GB, free: 219.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/3.853, allocations: 288 kB / 1.696 GB, free: 218.9 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.003524/3.857, allocations: 0.5794 MB / 1.697 GB, free: 218.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005939/3.863, allocations: 1.227 MB / 1.698 GB, free: 217.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/3.882, allocations: 8.621 MB / 1.706 GB, free: 208.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009989/3.892, allocations: 6.564 MB / 1.713 GB, free: 201.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/3.892, allocations: 0 / 1.713 GB, free: 201.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008642/3.901, allocations: 2.7 MB / 1.715 GB, free: 199.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005246/3.906, allocations: 117.8 kB / 1.715 GB, free: 199 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008688/3.914, allocations: 324 kB / 1.716 GB, free: 198.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007931/3.915, allocations: 323.3 kB / 1.716 GB, free: 198.4 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01614/3.931, allocations: 8.767 MB / 1.725 GB, free: 189.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01805/3.95, allocations: 11.88 MB / 1.736 GB, free: 177.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00387/3.953, allocations: 3.256 MB / 1.739 GB, free: 174.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0258/3.979, allocations: 11.35 MB / 1.751 GB, free: 163.2 MB / 1.279 GB Notification: Performance of Backend: time 1.202e-06/3.979, allocations: 0 / 1.751 GB, free: 163.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.04082/4.02, allocations: 17.44 MB / 1.768 GB, free: 145.3 MB / 1.279 GB Notification: Performance of SimCode: time 0.07595/4.096, allocations: 34.24 MB / 1.801 GB, free: 111.3 MB / 1.279 GB Notification: Performance of Templates: time 0.4305/4.527, allocations: 289.3 MB / 2.084 GB, free: 15.3 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