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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001104/0.001104, allocations: 109.4 kB / 16.42 MB, free: 5.953 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.001095/0.001095, allocations: 188.3 kB / 17.35 MB, free: 5.582 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.89 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6991, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.03881/0.738, allocations: 40.55 MB / 1.248 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.7545, allocations: 12.44 MB / 1.26 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.7565, allocations: 59.69 kB / 1.26 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.7587, allocations: 0.6831 MB / 1.261 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005778/0.7645, allocations: 2.095 MB / 1.263 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.768, allocations: 1.419 MB / 1.264 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004639/0.7727, allocations: 3.569 MB / 1.268 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.7745, allocations: 1.2 MB / 1.269 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.7776, allocations: 1.337 MB / 1.27 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.7792, allocations: 0.9879 MB / 1.271 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003348/0.7795, allocations: 132 kB / 1.271 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.783, allocations: 1.622 MB / 1.273 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005332/0.7836, allocations: 342.8 kB / 1.273 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.7851, allocations: 0.7466 MB / 1.274 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004476/0.7895, allocations: 2.623 MB / 1.277 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7896, allocations: 0 / 1.277 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7896, allocations: 0 / 1.277 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.325e-05/0.7896, allocations: 4 kB / 1.277 GB, free: 7.559 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003469/0.7931, allocations: 1.749 MB / 1.278 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.7932, allocations: 8.031 kB / 1.278 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005489/0.7937, allocations: 159.2 kB / 1.278 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.7958, allocations: 1.17 MB / 1.28 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.7959, allocations: 66 kB / 1.28 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.796, allocations: 88 kB / 1.28 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.7976, allocations: 0.9089 MB / 1.281 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.7976, allocations: 4 kB / 1.281 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.7978, allocations: 36 kB / 1.281 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.7978, allocations: 23.98 kB / 1.281 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.7989, allocations: 0.648 MB / 1.281 GB, free: 2.574 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.005095/0.804, allocations: 4.3 MB / 1.286 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/0.8049, allocations: 0.4933 MB / 1.286 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.8055, allocations: 326 kB / 1.286 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000636/0.8061, allocations: 0.5987 MB / 1.287 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.8061, allocations: 47 kB / 1.287 GB, free: 12.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.475e-06/0.8062, allocations: 0 / 1.287 GB, free: 12.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.002396/0.8086, allocations: 1.212 MB / 1.288 GB, free: 11.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.8086, allocations: 55.97 kB / 1.288 GB, free: 11.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.8098, allocations: 0.8993 MB / 1.289 GB, free: 10.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.8099, allocations: 41.7 kB / 1.289 GB, free: 10.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.8103, allocations: 0.5035 MB / 1.29 GB, free: 9.539 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.8105, allocations: 205 kB / 1.29 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.8107, allocations: 158.5 kB / 1.29 GB, free: 9.176 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8108, allocations: 341.9 kB / 1.29 GB, free: 8.836 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.8112, allocations: 212.8 kB / 1.29 GB, free: 8.625 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.8117, allocations: 396.6 kB / 1.291 GB, free: 8.176 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/0.8125, allocations: 0.5681 MB / 1.291 GB, free: 7.562 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8125, allocations: 0 / 1.291 GB, free: 7.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001643/0.8142, allocations: 0.8583 MB / 1.292 GB, free: 6.684 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8142, allocations: 8.438 kB / 1.292 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.8142, allocations: 11.94 kB / 1.292 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.8148, allocations: 151.3 kB / 1.292 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.8153, allocations: 139.8 kB / 1.293 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.8191, allocations: 5.263 MB / 1.298 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.8198, allocations: 79.2 kB / 1.298 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.8199, allocations: 27.98 kB / 1.298 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007398/0.8207, allocations: 442 kB / 1.298 GB, free: 124 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005092/0.8212, allocations: 396.6 kB / 1.299 GB, free: 15.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008168/0.822, allocations: 0.5603 MB / 1.299 GB, free: 15.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.822, allocations: 0 / 1.299 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001485/0.8235, allocations: 0.8313 MB / 1.3 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.8236, allocations: 8.094 kB / 1.3 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.8236, allocations: 8 kB / 1.3 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/0.8239, allocations: 123.4 kB / 1.3 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.8244, allocations: 139.8 kB / 1.3 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/0.8293, allocations: 6.427 MB / 1.306 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/0.8301, allocations: 67.41 kB / 1.307 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/0.8302, allocations: 31.94 kB / 1.307 GB, free: 6.836 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 (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.0002446/0.8305, allocations: 228.6 kB / 1.307 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.8308, allocations: 102.8 kB / 1.307 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.8321, allocations: 0.695 MB / 1.308 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009766/0.8331, allocations: 0.6494 MB / 1.308 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.8331, allocations: 4 kB / 1.308 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/0.8336, allocations: 251.7 kB / 1.308 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.8338, allocations: 15.98 kB / 1.308 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.8343, allocations: 19.98 kB / 1.308 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.8344, allocations: 52.42 kB / 1.309 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001497/0.8359, allocations: 0.7361 MB / 1.309 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001319/0.8373, allocations: 0.9939 MB / 1.31 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003029/0.8376, allocations: 220.4 kB / 1.31 GB, free: 2.758 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008847/0.8385, allocations: 0.6141 MB / 1.311 GB, free: 2.133 MB / 1.029 GB Notification: Performance of Backend: time 6.21e-07/0.8385, allocations: 4 kB / 1.311 GB, free: 2.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004152/0.8426, allocations: 2.17 MB / 1.313 GB, free: 15.86 MB / 1.045 GB Notification: Performance of SimCode: time 0.00505/0.8477, allocations: 2.861 MB / 1.316 GB, free: 12.96 MB / 1.045 GB Notification: Performance of Templates: time 0.04574/0.8935, allocations: 28.15 MB / 1.343 GB, free: 1.086 MB / 1.061 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