Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 117.1 kB / 16.42 MB, free: 6.465 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.001821/0.001821, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.251/2.251, allocations: 390.2 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.89 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8048, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.08843/0.8933, allocations: 86.29 MB / 1.173 GB, free: 7.594 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03828/0.9316, allocations: 25.3 MB / 1.198 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006505/0.9382, allocations: 119.5 kB / 1.198 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.007343/0.9455, allocations: 1.788 MB / 1.2 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01573/0.9613, allocations: 4.139 MB / 1.204 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.012/0.9733, allocations: 4.048 MB / 1.207 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01278/0.9861, allocations: 8.359 MB / 1.216 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004891/0.9911, allocations: 2.893 MB / 1.218 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007301/0.9984, allocations: 2.999 MB / 1.221 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004914/1.003, allocations: 2.418 MB / 1.224 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008132/1.004, allocations: 357.8 kB / 1.224 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008314/1.012, allocations: 3.434 MB / 1.227 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/1.014, allocations: 0.8526 MB / 1.228 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003202/1.017, allocations: 1.902 MB / 1.23 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/1.029, allocations: 7.269 MB / 1.237 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.029, allocations: 3.938 kB / 1.237 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.284e-06/1.029, allocations: 0 / 1.237 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001332/1.029, allocations: 4 kB / 1.237 GB, free: 5.691 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.009358/1.039, allocations: 3.908 MB / 1.241 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.039, allocations: 8.031 kB / 1.241 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/1.04, allocations: 379.7 kB / 1.241 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005536/1.046, allocations: 2.633 MB / 1.244 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.046, allocations: 160.1 kB / 1.244 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/1.046, allocations: 219.9 kB / 1.244 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/1.05, allocations: 2.186 MB / 1.247 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/1.05, allocations: 4 kB / 1.247 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/1.051, allocations: 88 kB / 1.247 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/1.051, allocations: 48 kB / 1.247 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/1.053, allocations: 1.683 MB / 1.248 GB, free: 10.11 MB / 0.9825 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.01262/1.066, allocations: 9.3 MB / 1.257 GB, free: 380 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/1.068, allocations: 1.188 MB / 1.259 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/1.069, allocations: 0.8296 MB / 1.259 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002519/1.072, allocations: 2.922 MB / 1.262 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/1.072, allocations: 47.88 kB / 1.262 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=148): time 3.687e-06/1.072, allocations: 0 / 1.262 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=148): time 0.005578/1.077, allocations: 2.72 MB / 1.265 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/1.077, allocations: 94.41 kB / 1.265 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/1.081, allocations: 2.286 MB / 1.267 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/1.081, allocations: 53.7 kB / 1.267 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009999/1.082, allocations: 1.193 MB / 1.268 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/1.083, allocations: 0.5121 MB / 1.269 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005371/1.083, allocations: 375.1 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/1.083, allocations: 305.1 kB / 1.27 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009863/1.084, allocations: 0.5826 MB / 1.27 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/1.086, allocations: 0.9335 MB / 1.271 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/1.088, allocations: 1.488 MB / 1.273 GB, free: 15.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.088, allocations: 0 / 1.273 GB, free: 15.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004331/1.092, allocations: 2.124 MB / 1.275 GB, free: 13.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.092, allocations: 8 kB / 1.275 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/1.092, allocations: 11.98 kB / 1.275 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000994/1.093, allocations: 273.4 kB / 1.275 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.095, allocations: 387.5 kB / 1.275 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005671/1.1, allocations: 7.724 MB / 1.283 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/1.103, allocations: 194.2 kB / 1.283 GB, free: 4.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/1.103, allocations: 71.98 kB / 1.283 GB, free: 4.359 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002093/1.105, allocations: 1.047 MB / 1.284 GB, free: 3.309 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001449/1.106, allocations: 0.9335 MB / 1.285 GB, free: 2.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002432/1.109, allocations: 1.472 MB / 1.286 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.123e-06/1.109, allocations: 4 kB / 1.286 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.004876/1.114, allocations: 2.081 MB / 1.288 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.114, allocations: 8 kB / 1.288 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/1.114, allocations: 8 kB / 1.288 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/1.114, allocations: 213.4 kB / 1.289 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.116, allocations: 395.4 kB / 1.289 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008115/1.124, allocations: 10.09 MB / 1.299 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/1.126, allocations: 158.8 kB / 1.299 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/1.126, allocations: 71.98 kB / 1.299 GB, free: 2.77 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005163/1.127, allocations: 287.9 kB / 1.299 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008605/1.128, allocations: 260.8 kB / 1.3 GB, free: 2.223 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/1.132, allocations: 2.016 MB / 1.302 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002546/1.134, allocations: 1.654 MB / 1.303 GB, free: 14.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.134, allocations: 0 / 1.303 GB, free: 14.49 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.136, allocations: 0.552 MB / 1.304 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005418/1.136, allocations: 28 kB / 1.304 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.138, allocations: 44.06 kB / 1.304 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/1.138, allocations: 121.1 kB / 1.304 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00413/1.142, allocations: 1.909 MB / 1.306 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004035/1.146, allocations: 2.612 MB / 1.308 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009619/1.147, allocations: 0.6707 MB / 1.309 GB, free: 8.492 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002767/1.15, allocations: 1.547 MB / 1.311 GB, free: 6.938 MB / 1.045 GB Notification: Performance of Backend: time 7.51e-07/1.15, allocations: 0 / 1.311 GB, free: 6.938 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009406/1.159, allocations: 4.485 MB / 1.315 GB, free: 2.332 MB / 1.045 GB Notification: Performance of SimCode: time 0.01229/1.171, allocations: 6.356 MB / 1.321 GB, free: 11.95 MB / 1.061 GB Notification: Performance of Templates: time 0.1087/1.28, allocations: 68.09 MB / 1.388 GB, free: 8.582 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches