Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001411/0.001411, allocations: 111.8 kB / 16.37 MB, free: 6.355 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.001476/0.001476, allocations: 192.2 kB / 17.31 MB, free: 5.895 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 442.7 MB / 0.7166 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8141/0.8154, allocations: 153 MB / 1.177 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06099/0.8764, allocations: 65.58 MB / 1.241 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02261/0.8991, allocations: 16.72 MB / 1.257 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.9016, allocations: 67.62 kB / 1.257 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.905, allocations: 1.182 MB / 1.258 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006291/0.9113, allocations: 2.355 MB / 1.261 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00728/0.9186, allocations: 2.862 MB / 1.263 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006192/0.9248, allocations: 4.442 MB / 1.268 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.927, allocations: 1.469 MB / 1.269 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003689/0.9307, allocations: 1.616 MB / 1.271 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.933, allocations: 1.303 MB / 1.272 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003614/0.9333, allocations: 180 kB / 1.272 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/0.9386, allocations: 2.703 MB / 1.275 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006068/0.9392, allocations: 478.3 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.9405, allocations: 1.034 MB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006831/0.9474, allocations: 4.488 MB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9474, allocations: 3.938 kB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9474, allocations: 0 / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.768e-05/0.9475, allocations: 0 / 1.281 GB, free: 15.96 MB / 1.014 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.004015/0.9515, allocations: 2.384 MB / 1.283 GB, free: 13.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.9516, allocations: 15.97 kB / 1.283 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005368/0.9521, allocations: 210.6 kB / 1.283 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.9548, allocations: 1.572 MB / 1.285 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.9549, allocations: 82.08 kB / 1.285 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.955, allocations: 108 kB / 1.285 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.9569, allocations: 1.108 MB / 1.286 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.9569, allocations: 0 / 1.286 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.957, allocations: 44 kB / 1.286 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.957, allocations: 24 kB / 1.286 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.9585, allocations: 0.8317 MB / 1.287 GB, free: 9.402 MB / 1.014 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.008184/0.9667, allocations: 6.815 MB / 1.294 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009723/0.9677, allocations: 0.7354 MB / 1.294 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.9682, allocations: 363.4 kB / 1.295 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.9693, allocations: 1.271 MB / 1.296 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.9694, allocations: 43.09 kB / 1.296 GB, free: 15.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=72): time 2.775e-06/0.9694, allocations: 4 kB / 1.296 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=72): time 0.0024/0.9718, allocations: 1.168 MB / 1.297 GB, free: 13.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.9719, allocations: 89.7 kB / 1.297 GB, free: 13.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.9741, allocations: 1.513 MB / 1.299 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.9742, allocations: 37.7 kB / 1.299 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.9748, allocations: 0.7092 MB / 1.299 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.9751, allocations: 260.2 kB / 1.3 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.9753, allocations: 190.5 kB / 1.3 GB, free: 11.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.9755, allocations: 342 kB / 1.3 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/0.976, allocations: 292.7 kB / 1.3 GB, free: 10.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.9766, allocations: 494.5 kB / 1.301 GB, free: 9.918 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.9777, allocations: 0.7146 MB / 1.302 GB, free: 9.164 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.9777, allocations: 0 / 1.302 GB, free: 9.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001973/0.9797, allocations: 1.024 MB / 1.303 GB, free: 8.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.9798, allocations: 4 kB / 1.303 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.9798, allocations: 8 kB / 1.303 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.9801, allocations: 69.67 kB / 1.303 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.9808, allocations: 192 kB / 1.303 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.9833, allocations: 3.316 MB / 1.306 GB, free: 4.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.9844, allocations: 110.9 kB / 1.306 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.9845, allocations: 32 kB / 1.306 GB, free: 4.117 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001032/0.9856, allocations: 0.5839 MB / 1.307 GB, free: 3.527 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006644/0.9863, allocations: 488.3 kB / 1.307 GB, free: 2.984 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001051/0.9873, allocations: 0.7107 MB / 1.308 GB, free: 2.234 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.9873, allocations: 0 / 1.308 GB, free: 2.234 MB / 1.029 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.001907/0.9892, allocations: 1.016 MB / 1.309 GB, free: 1.203 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.9893, allocations: 8 kB / 1.309 GB, free: 1.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.9893, allocations: 7.938 kB / 1.309 GB, free: 1.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.9895, allocations: 86.19 kB / 1.309 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.9902, allocations: 191.7 kB / 1.309 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.9927, allocations: 3.306 MB / 1.313 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.9939, allocations: 91.23 kB / 1.313 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/0.994, allocations: 36 kB / 1.313 GB, free: 13.2 MB / 1.045 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.0002883/0.9943, allocations: 236 kB / 1.313 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.9947, allocations: 162.1 kB / 1.313 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.9966, allocations: 1.045 MB / 1.314 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.9978, allocations: 0.781 MB / 1.315 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.9978, allocations: 4 kB / 1.315 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006417/0.9984, allocations: 346.9 kB / 1.315 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.9986, allocations: 16 kB / 1.315 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.9992, allocations: 31.83 kB / 1.315 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.9993, allocations: 48.58 kB / 1.315 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001868/1.001, allocations: 0.9384 MB / 1.316 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001912/1.003, allocations: 1.398 MB / 1.318 GB, free: 8.102 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004757/1.004, allocations: 337.4 kB / 1.318 GB, free: 7.773 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001633/1.005, allocations: 1.052 MB / 1.319 GB, free: 6.727 MB / 1.045 GB Notification: Performance of Backend: time 3.71e-07/1.005, allocations: 3.938 kB / 1.319 GB, free: 6.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005357/1.011, allocations: 2.4 MB / 1.321 GB, free: 4.266 MB / 1.045 GB Notification: Performance of SimCode: time 0.006262/1.017, allocations: 3.808 MB / 1.325 GB, free: 432 kB / 1.045 GB Notification: Performance of Templates: time 0.0629/1.08, allocations: 42.41 MB / 1.366 GB, free: 6.434 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches