Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 109.7 kB / 16.41 MB, free: 6.387 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.00189/0.00189, allocations: 185.3 kB / 17.34 MB, free: 5.84 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.641/1.641, allocations: 222.9 MB / 241 MB, free: 15.18 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.451/2.451, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 67.84 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9359/0.9375, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.07669/1.014, allocations: 65.6 MB / 1.231 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02693/1.041, allocations: 16.71 MB / 1.248 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003366/1.045, allocations: 71.62 kB / 1.248 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00493/1.05, allocations: 1.181 MB / 1.249 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008269/1.058, allocations: 2.411 MB / 1.251 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008205/1.066, allocations: 2.881 MB / 1.254 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006778/1.073, allocations: 4.442 MB / 1.258 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/1.076, allocations: 1.473 MB / 1.26 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/1.08, allocations: 1.652 MB / 1.262 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/1.083, allocations: 1.295 MB / 1.263 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000812/1.084, allocations: 184 kB / 1.263 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006524/1.09, allocations: 2.703 MB / 1.266 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008851/1.091, allocations: 486.3 kB / 1.266 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002208/1.094, allocations: 1.026 MB / 1.267 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/1.105, allocations: 4.501 MB / 1.271 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/1.105, allocations: 0 / 1.271 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.707e-06/1.105, allocations: 4 kB / 1.271 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000124/1.105, allocations: 0 / 1.271 GB, free: 8.879 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.007578/1.112, allocations: 2.466 MB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001019/1.113, allocations: 12.56 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/1.114, allocations: 223.6 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005207/1.119, allocations: 1.579 MB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/1.119, allocations: 82.08 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/1.12, allocations: 108 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/1.123, allocations: 1.108 MB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/1.123, allocations: 3.953 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/1.123, allocations: 48 kB / 1.277 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/1.123, allocations: 24 kB / 1.277 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/1.125, allocations: 0.8316 MB / 1.278 GB, free: 2.215 MB / 0.9981 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.01069/1.136, allocations: 6.821 MB / 1.284 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.137, allocations: 0.7432 MB / 1.285 GB, free: 9.906 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/1.138, allocations: 354.3 kB / 1.285 GB, free: 9.562 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/1.139, allocations: 1.267 MB / 1.287 GB, free: 8.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/1.139, allocations: 39.22 kB / 1.287 GB, free: 7.973 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.046e-06/1.139, allocations: 0 / 1.287 GB, free: 7.973 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.002655/1.142, allocations: 1.18 MB / 1.288 GB, free: 6.742 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/1.142, allocations: 93.7 kB / 1.288 GB, free: 6.633 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/1.145, allocations: 1.524 MB / 1.29 GB, free: 5.102 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/1.145, allocations: 41.7 kB / 1.29 GB, free: 5.055 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/1.146, allocations: 0.7103 MB / 1.29 GB, free: 4.336 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/1.146, allocations: 269.7 kB / 1.29 GB, free: 4.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/1.146, allocations: 190.5 kB / 1.291 GB, free: 3.875 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.146, allocations: 337.9 kB / 1.291 GB, free: 3.539 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/1.147, allocations: 296.7 kB / 1.291 GB, free: 3.246 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/1.148, allocations: 490.5 kB / 1.292 GB, free: 2.699 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.149, allocations: 0.7263 MB / 1.292 GB, free: 1.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.149, allocations: 0 / 1.292 GB, free: 1.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002126/1.151, allocations: 1.025 MB / 1.293 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.151, allocations: 8 kB / 1.293 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/1.151, allocations: 4 kB / 1.293 GB, free: 0.875 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/1.151, allocations: 73.67 kB / 1.294 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/1.152, allocations: 191.7 kB / 1.294 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/1.155, allocations: 3.317 MB / 1.297 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.156, allocations: 111.3 kB / 1.297 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.862e-05/1.156, allocations: 43.94 kB / 1.297 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/1.157, allocations: 0.5761 MB / 1.298 GB, free: 12.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006995/1.158, allocations: 490.5 kB / 1.298 GB, free: 11.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001141/1.159, allocations: 0.7107 MB / 1.299 GB, free: 10.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/1.159, allocations: 0 / 1.299 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.002184/1.161, allocations: 1.025 MB / 1.3 GB, free: 9.949 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.161, allocations: 10.5 kB / 1.3 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/1.161, allocations: 4 kB / 1.3 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/1.162, allocations: 73.67 kB / 1.3 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/1.162, allocations: 196 kB / 1.3 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/1.165, allocations: 3.317 MB / 1.303 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.167, allocations: 87.58 kB / 1.303 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.167, allocations: 32 kB / 1.303 GB, free: 5.953 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003584/1.167, allocations: 236 kB / 1.304 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000548/1.168, allocations: 167.2 kB / 1.304 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/1.17, allocations: 1.053 MB / 1.305 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/1.171, allocations: 0.7888 MB / 1.306 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/1.171, allocations: 0 / 1.306 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008098/1.172, allocations: 355.7 kB / 1.306 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/1.172, allocations: 16 kB / 1.306 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/1.173, allocations: 23.98 kB / 1.306 GB, free: 3.262 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.173, allocations: 48.58 kB / 1.306 GB, free: 3.211 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001985/1.175, allocations: 0.9385 MB / 1.307 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00238/1.177, allocations: 1.411 MB / 1.308 GB, free: 0.832 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005467/1.178, allocations: 341.4 kB / 1.309 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002349/1.18, allocations: 1.044 MB / 1.31 GB, free: 15.46 MB / 1.045 GB Notification: Performance of Backend: time 9.62e-07/1.18, allocations: 0 / 1.31 GB, free: 15.46 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006845/1.187, allocations: 2.43 MB / 1.312 GB, free: 12.97 MB / 1.045 GB Notification: Performance of SimCode: time 0.007933/1.195, allocations: 3.856 MB / 1.316 GB, free: 9.074 MB / 1.045 GB Notification: Performance of Templates: time 0.07854/1.274, allocations: 42.72 MB / 1.358 GB, free: 14.76 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches