Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.InternalHEXOneUTube,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.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_9_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.001638/0.001638, allocations: 112.7 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.001611/0.001611, allocations: 190.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.418/1.418, allocations: 222.9 MB / 241 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.165/2.165, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8061, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06566/0.8718, allocations: 65.58 MB / 1.153 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02476/0.8966, allocations: 16.7 MB / 1.169 GB, free: 10.83 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003321/0.9, allocations: 67.72 kB / 1.169 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.9041, allocations: 1.187 MB / 1.17 GB, free: 10.14 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00865/0.9128, allocations: 2.42 MB / 1.173 GB, free: 8.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00895/0.9217, allocations: 2.869 MB / 1.175 GB, free: 7.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007504/0.9292, allocations: 4.462 MB / 1.18 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.932, allocations: 1.463 MB / 1.181 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004392/0.9364, allocations: 1.649 MB / 1.183 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.9393, allocations: 1.297 MB / 1.184 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005804/0.9399, allocations: 187.2 kB / 1.184 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00694/0.9468, allocations: 2.704 MB / 1.187 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007791/0.9476, allocations: 472.4 kB / 1.187 GB, free: 128 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002345/0.95, allocations: 1.033 MB / 1.188 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.008642/0.9586, allocations: 4.478 MB / 1.193 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9586, allocations: 0 / 1.193 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9586, allocations: 0 / 1.193 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001015/0.9588, allocations: 1.594 kB / 1.193 GB, free: 12.42 MB / 0.9356 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.006112/0.9649, allocations: 2.395 MB / 1.195 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.9649, allocations: 8.25 kB / 1.195 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007289/0.9657, allocations: 209.4 kB / 1.195 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/0.9686, allocations: 1.561 MB / 1.197 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.9686, allocations: 82.48 kB / 1.197 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.9688, allocations: 118.3 kB / 1.197 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.9708, allocations: 1.115 MB / 1.198 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.9708, allocations: 1.312 kB / 1.198 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/0.9709, allocations: 42.16 kB / 1.198 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.9709, allocations: 25.31 kB / 1.198 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.9724, allocations: 0.8361 MB / 1.199 GB, free: 8.07 MB / 0.9356 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.008389/0.9808, allocations: 6.805 MB / 1.206 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.9818, allocations: 0.7459 MB / 1.206 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.9823, allocations: 371.1 kB / 1.207 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.9835, allocations: 1.263 MB / 1.208 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.9836, allocations: 42.78 kB / 1.208 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=72): time 2.906e-06/0.9836, allocations: 0 / 1.208 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72): time 0.0024/0.986, allocations: 1.168 MB / 1.209 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.9861, allocations: 92.45 kB / 1.209 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.9882, allocations: 1.524 MB / 1.211 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.9882, allocations: 39.3 kB / 1.211 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/0.9889, allocations: 0.7038 MB / 1.211 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.9891, allocations: 259.4 kB / 1.212 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.9894, allocations: 189.4 kB / 1.212 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.9896, allocations: 343.1 kB / 1.212 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.99, allocations: 286.8 kB / 1.212 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/0.9907, allocations: 489.6 kB / 1.213 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.9918, allocations: 0.7234 MB / 1.214 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.9918, allocations: 1.344 kB / 1.214 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00194/0.9938, allocations: 1.025 MB / 1.215 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.9938, allocations: 6.094 kB / 1.215 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.9938, allocations: 5.75 kB / 1.215 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.9941, allocations: 68.28 kB / 1.215 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.9949, allocations: 195.9 kB / 1.215 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.9975, allocations: 3.316 MB / 1.218 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.9987, allocations: 106.2 kB / 1.218 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.9988, allocations: 36.3 kB / 1.218 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001062/0.9999, allocations: 0.5805 MB / 1.219 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006885/1.001, allocations: 498.4 kB / 1.219 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001071/1.002, allocations: 0.7068 MB / 1.22 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/1.002, allocations: 0 / 1.22 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.001866/1.004, allocations: 1.016 MB / 1.221 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.004, allocations: 4 kB / 1.221 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.004, allocations: 8 kB / 1.221 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/1.004, allocations: 74.12 kB / 1.221 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/1.004, allocations: 191.7 kB / 1.221 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/1.007, allocations: 3.308 MB / 1.224 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.008, allocations: 91.33 kB / 1.225 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/1.008, allocations: 39.98 kB / 1.225 GB, free: 0.8555 MB / 0.9512 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.0002924/1.009, allocations: 248 kB / 1.225 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003668/1.009, allocations: 158 kB / 1.225 GB, free: 460 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/1.011, allocations: 1.047 MB / 1.226 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/1.012, allocations: 0.781 MB / 1.227 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.012, allocations: 0 / 1.227 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000752/1.013, allocations: 350.8 kB / 1.227 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/1.013, allocations: 15.94 kB / 1.227 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/1.014, allocations: 23.98 kB / 1.227 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/1.014, allocations: 48.58 kB / 1.227 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001927/1.016, allocations: 0.9422 MB / 1.228 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001985/1.018, allocations: 1.394 MB / 1.229 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004847/1.018, allocations: 333.4 kB / 1.23 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002017/1.021, allocations: 1.06 MB / 1.231 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of Backend: time 5.81e-07/1.021, allocations: 0 / 1.231 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006837/1.027, allocations: 2.396 MB / 1.233 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of SimCode: time 0.007043/1.034, allocations: 3.827 MB / 1.237 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of Templates: time 0.07163/1.106, allocations: 42.67 MB / 1.279 GB, free: 9.844 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches