Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001483/0.001483, allocations: 111 kB / 16.42 MB, free: 6.512 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.001906/0.001906, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 63.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9257/0.9272, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.08087/1.008, allocations: 70.27 MB / 1.157 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03177/1.04, allocations: 17.7 MB / 1.175 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004541/1.045, allocations: 68.62 kB / 1.175 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005438/1.05, allocations: 1.221 MB / 1.176 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/1.06, allocations: 2.485 MB / 1.178 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01068/1.071, allocations: 2.935 MB / 1.181 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.06404/1.135, allocations: 38.55 MB / 1.219 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02912/1.164, allocations: 17.24 MB / 1.236 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02989/1.194, allocations: 12.58 MB / 1.248 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02185/1.216, allocations: 11.15 MB / 1.259 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00654/1.223, allocations: 1.945 MB / 1.261 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01898/1.242, allocations: 4.551 MB / 1.265 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.009028/1.251, allocations: 4.444 MB / 1.269 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.02321/1.274, allocations: 9.466 MB / 1.279 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.04507/1.319, allocations: 33.47 MB / 1.311 GB, free: 9.605 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/1.319, allocations: 7.938 kB / 1.311 GB, free: 9.598 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.188e-06/1.319, allocations: 7.922 kB / 1.311 GB, free: 9.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0009394/1.32, allocations: 4 kB / 1.311 GB, free: 9.586 MB / 1.045 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.05588/1.376, allocations: 16.91 MB / 1.328 GB, free: 8.543 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.376, allocations: 12.03 kB / 1.328 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009476/1.386, allocations: 1.631 MB / 1.33 GB, free: 6.883 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0402/1.426, allocations: 16.31 MB / 1.345 GB, free: 6.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008027/1.427, allocations: 0.6414 MB / 1.346 GB, free: 5.836 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004001/1.431, allocations: 0.8708 MB / 1.347 GB, free: 4.965 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0377/1.468, allocations: 12.86 MB / 1.359 GB, free: 7.816 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006002/1.469, allocations: 35.78 kB / 1.36 GB, free: 7.781 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003892/1.473, allocations: 352 kB / 1.36 GB, free: 7.438 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002113/1.473, allocations: 208 kB / 1.36 GB, free: 7.234 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02883/1.502, allocations: 11.18 MB / 1.371 GB, free: 12.03 MB / 1.107 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.1054/1.607, allocations: 53.34 MB / 1.423 GB, free: 4.57 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.619, allocations: 5.933 MB / 1.429 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007178/1.626, allocations: 3.944 MB / 1.433 GB, free: 10.66 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002372/1.629, allocations: 2.187 MB / 1.435 GB, free: 8.016 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/1.629, allocations: 102.3 kB / 1.435 GB, free: 7.906 MB / 1.17 GB Notification: Performance of pre-optimization done (n=484): time 3.277e-05/1.629, allocations: 3.984 kB / 1.435 GB, free: 7.902 MB / 1.17 GB Notification: Performance of matching and sorting (n=484): time 0.0283/1.657, allocations: 12.62 MB / 1.447 GB, free: 10.83 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/1.658, allocations: 368.2 kB / 1.448 GB, free: 10.39 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04006/1.698, allocations: 16.02 MB / 1.463 GB, free: 10.44 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.00161/1.699, allocations: 137.7 kB / 1.463 GB, free: 10.3 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.009621/1.709, allocations: 5.896 MB / 1.469 GB, free: 4.367 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.003424/1.712, allocations: 1.729 MB / 1.471 GB, free: 2.613 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00575/1.718, allocations: 1.515 MB / 1.472 GB, free: 1.09 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.718, allocations: 301.1 kB / 1.473 GB, free: 0.793 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007209/1.725, allocations: 3.821 MB / 1.476 GB, free: 12.96 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009163/1.735, allocations: 5.884 MB / 1.482 GB, free: 6.332 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/1.75, allocations: 9.028 MB / 1.491 GB, free: 12.68 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.569e-05/1.75, allocations: 15.94 kB / 1.491 GB, free: 12.66 MB / 1.232 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.03084/1.781, allocations: 11.63 MB / 1.502 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.472e-05/1.781, allocations: 20 kB / 1.502 GB, free: 0.875 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000281/1.781, allocations: 67.98 kB / 1.502 GB, free: 0.8086 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/1.784, allocations: 1.024 MB / 1.503 GB, free: 15.72 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006545/1.79, allocations: 1.568 MB / 1.505 GB, free: 14.15 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02879/1.819, allocations: 36.62 MB / 1.541 GB, free: 6.762 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01267/1.832, allocations: 1.097 MB / 1.542 GB, free: 5.656 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/1.834, allocations: 288 kB / 1.542 GB, free: 5.375 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01808/1.852, allocations: 8.871 MB / 1.551 GB, free: 12.49 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009863/1.862, allocations: 5.877 MB / 1.556 GB, free: 5.867 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01668/1.878, allocations: 9.017 MB / 1.565 GB, free: 12.23 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.283e-05/1.878, allocations: 16 kB / 1.565 GB, free: 12.21 MB / 1.311 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02918/1.908, allocations: 11.63 MB / 1.577 GB, free: 456 kB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/1.908, allocations: 27.94 kB / 1.577 GB, free: 428 kB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/1.908, allocations: 67.98 kB / 1.577 GB, free: 360 kB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248/3.156, allocations: 1.016 MB / 1.578 GB, free: 394.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007183/3.163, allocations: 1.571 MB / 1.579 GB, free: 394.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02591/3.189, allocations: 36.6 MB / 1.615 GB, free: 364.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01373/3.202, allocations: 1.037 MB / 1.616 GB, free: 364.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001894/3.204, allocations: 294.1 kB / 1.616 GB, free: 364.7 MB / 1.311 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.001782/3.206, allocations: 0.5818 MB / 1.617 GB, free: 364.4 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005004/3.211, allocations: 1.169 MB / 1.618 GB, free: 364.4 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01857/3.23, allocations: 8.615 MB / 1.626 GB, free: 361.6 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01081/3.241, allocations: 6.561 MB / 1.633 GB, free: 359.1 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/3.241, allocations: 2.062 kB / 1.633 GB, free: 359.1 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01127/3.252, allocations: 2.646 MB / 1.635 GB, free: 358.2 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007033/3.259, allocations: 117.1 kB / 1.635 GB, free: 358.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01039/3.269, allocations: 319.7 kB / 1.636 GB, free: 358.1 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/3.271, allocations: 327.8 kB / 1.636 GB, free: 358 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02377/3.295, allocations: 8.752 MB / 1.645 GB, free: 355.3 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02937/3.324, allocations: 11.82 MB / 1.656 GB, free: 350.6 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006242/3.33, allocations: 3.259 MB / 1.659 GB, free: 349.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.03123/3.361, allocations: 11.35 MB / 1.67 GB, free: 345.6 MB / 1.311 GB Notification: Performance of Backend: time 1.092e-06/3.362, allocations: 0 / 1.67 GB, free: 345.6 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.04268/3.404, allocations: 17.39 MB / 1.687 GB, free: 336.3 MB / 1.311 GB Notification: Performance of SimCode: time 0.08638/3.491, allocations: 33.84 MB / 1.72 GB, free: 313 MB / 1.311 GB Notification: Performance of Templates: time 0.3799/3.871, allocations: 289.2 MB / 2.003 GB, free: 25.3 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches