Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.vol1.heatPort.Q_flow|hex.vol2.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.vol1.heatPort.Q_flow|hex.vol2.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.001381, allocations: 112 kB / 16.42 MB, free: 6.457 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.001381/0.001381, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.89 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7021, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04322/0.7454, allocations: 40.55 MB / 1.266 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01789/0.7633, allocations: 12.44 MB / 1.278 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.7652, allocations: 67.62 kB / 1.278 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.7672, allocations: 0.7065 MB / 1.279 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006564/0.7738, allocations: 2.188 MB / 1.281 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004027/0.7778, allocations: 1.427 MB / 1.282 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005779/0.7836, allocations: 3.565 MB / 1.286 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.7855, allocations: 1.207 MB / 1.287 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.7885, allocations: 1.335 MB / 1.288 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.7901, allocations: 0.9918 MB / 1.289 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.7904, allocations: 132 kB / 1.289 GB, free: 12.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.7935, allocations: 1.626 MB / 1.291 GB, free: 11.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.7939, allocations: 334.8 kB / 1.291 GB, free: 10.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000915/0.7948, allocations: 0.7427 MB / 1.292 GB, free: 9.969 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.7987, allocations: 2.644 MB / 1.295 GB, free: 7.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7987, allocations: 3.984 kB / 1.295 GB, free: 7.316 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7987, allocations: 0 / 1.295 GB, free: 7.316 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.759e-05/0.7987, allocations: 3.938 kB / 1.295 GB, free: 7.312 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002825/0.8016, allocations: 1.796 MB / 1.296 GB, free: 5.461 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.8016, allocations: 8.031 kB / 1.296 GB, free: 5.453 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004076/0.802, allocations: 164 kB / 1.297 GB, free: 5.293 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.8039, allocations: 1.174 MB / 1.298 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.8039, allocations: 66 kB / 1.298 GB, free: 4.012 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.8041, allocations: 91.95 kB / 1.298 GB, free: 3.922 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.8056, allocations: 0.9051 MB / 1.299 GB, free: 2.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.8056, allocations: 7.938 kB / 1.299 GB, free: 2.973 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.8057, allocations: 39.98 kB / 1.299 GB, free: 2.934 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.8057, allocations: 20 kB / 1.299 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.8068, allocations: 0.6519 MB / 1.299 GB, free: 2.266 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.00493/0.8117, allocations: 4.301 MB / 1.304 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009281/0.8127, allocations: 0.4894 MB / 1.304 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.8132, allocations: 316.4 kB / 1.304 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.8139, allocations: 0.6104 MB / 1.305 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.8139, allocations: 43.12 kB / 1.305 GB, free: 12.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=57): time 3.045e-06/0.8139, allocations: 0 / 1.305 GB, free: 12.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=57): time 0.00249/0.8164, allocations: 1.209 MB / 1.306 GB, free: 10.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.8165, allocations: 56.08 kB / 1.306 GB, free: 10.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.8177, allocations: 0.8993 MB / 1.307 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.8177, allocations: 45.64 kB / 1.307 GB, free: 9.738 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.8181, allocations: 0.5278 MB / 1.308 GB, free: 9.203 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.8183, allocations: 210.2 kB / 1.308 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.8185, allocations: 154.6 kB / 1.308 GB, free: 8.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8187, allocations: 337.9 kB / 1.308 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.819, allocations: 220.8 kB / 1.309 GB, free: 8.285 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.8195, allocations: 388.6 kB / 1.309 GB, free: 7.844 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/0.8204, allocations: 0.5681 MB / 1.31 GB, free: 7.227 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.8204, allocations: 0 / 1.31 GB, free: 7.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001694/0.8221, allocations: 0.867 MB / 1.31 GB, free: 6.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.8221, allocations: 8 kB / 1.31 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.8221, allocations: 4 kB / 1.31 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.8227, allocations: 155.2 kB / 1.311 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.8233, allocations: 147.9 kB / 1.311 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/0.8273, allocations: 5.259 MB / 1.316 GB, free: 324 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007956/0.8281, allocations: 83.44 kB / 1.316 GB, free: 240 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.8281, allocations: 28 kB / 1.316 GB, free: 212 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007158/0.8289, allocations: 446 kB / 1.316 GB, free: 15.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005016/0.8294, allocations: 392.7 kB / 1.317 GB, free: 15.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008214/0.8302, allocations: 0.5603 MB / 1.317 GB, free: 14.72 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.8302, allocations: 4 kB / 1.317 GB, free: 14.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00146/0.8317, allocations: 0.8317 MB / 1.318 GB, free: 13.86 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.8317, allocations: 4 kB / 1.318 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.8317, allocations: 8 kB / 1.318 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.8321, allocations: 131.3 kB / 1.318 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.8326, allocations: 140.1 kB / 1.318 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/0.8373, allocations: 6.412 MB / 1.325 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007503/0.8381, allocations: 75.53 kB / 1.325 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.8382, allocations: 31.94 kB / 1.325 GB, free: 6.488 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 (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002652/0.8384, allocations: 225.5 kB / 1.325 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.8387, allocations: 103.3 kB / 1.325 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.8401, allocations: 0.7141 MB / 1.326 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.8411, allocations: 0.6533 MB / 1.326 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.8411, allocations: 0 / 1.326 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.8415, allocations: 260.1 kB / 1.327 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.8417, allocations: 16 kB / 1.327 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.8422, allocations: 23.98 kB / 1.327 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.8423, allocations: 44.48 kB / 1.327 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001587/0.8439, allocations: 0.7363 MB / 1.327 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001353/0.8452, allocations: 0.9986 MB / 1.328 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003224/0.8456, allocations: 216.4 kB / 1.329 GB, free: 2.406 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008502/0.8464, allocations: 0.618 MB / 1.329 GB, free: 1.777 MB / 1.045 GB Notification: Performance of Backend: time 1.042e-06/0.8465, allocations: 0 / 1.329 GB, free: 1.777 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004186/0.8507, allocations: 2.173 MB / 1.331 GB, free: 15.51 MB / 1.061 GB Notification: Performance of SimCode: time 0.004704/0.8554, allocations: 2.892 MB / 1.334 GB, free: 12.57 MB / 1.061 GB Notification: Performance of Templates: time 0.0489/0.9043, allocations: 27.64 MB / 1.361 GB, free: 1.195 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches