Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001562/0.001562, allocations: 116.2 kB / 16.42 MB, free: 6.465 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.001708/0.001708, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.375/1.375, 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.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.84 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6873/0.6885, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04141/0.73, allocations: 40.54 MB / 1.128 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.7487, allocations: 12.45 MB / 1.14 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.7511, allocations: 60.59 kB / 1.14 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.7534, allocations: 0.6989 MB / 1.141 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006686/0.7602, allocations: 2.182 MB / 1.143 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.7643, allocations: 1.425 MB / 1.145 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005492/0.7698, allocations: 3.575 MB / 1.148 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.772, allocations: 1.207 MB / 1.149 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.7754, allocations: 1.33 MB / 1.151 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.7776, allocations: 0.9902 MB / 1.152 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004077/0.778, allocations: 136.5 kB / 1.152 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004161/0.7822, allocations: 1.624 MB / 1.153 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.7827, allocations: 331.1 kB / 1.154 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.7843, allocations: 0.7489 MB / 1.154 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.7894, allocations: 2.626 MB / 1.157 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7895, allocations: 4 kB / 1.157 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7895, allocations: 0 / 1.157 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.208e-05/0.7895, allocations: 0.8438 kB / 1.157 GB, free: 7.484 MB / 0.9044 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.004466/0.794, allocations: 1.746 MB / 1.159 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7941, allocations: 8.844 kB / 1.159 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006086/0.7947, allocations: 156.2 kB / 1.159 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.797, allocations: 1.169 MB / 1.16 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.7971, allocations: 71.22 kB / 1.16 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.7973, allocations: 88.31 kB / 1.16 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.7992, allocations: 0.9105 MB / 1.161 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.7993, allocations: 1.281 kB / 1.161 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.7994, allocations: 36.97 kB / 1.161 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.7994, allocations: 29.94 kB / 1.161 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.8008, allocations: 0.6435 MB / 1.162 GB, free: 4.77 MB / 0.9044 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.006017/0.8068, allocations: 4.299 MB / 1.166 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/0.8077, allocations: 0.4984 MB / 1.166 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.8083, allocations: 321.8 kB / 1.167 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/0.8089, allocations: 0.6099 MB / 1.167 GB, free: 220 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.8089, allocations: 38.34 kB / 1.167 GB, free: 172 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=57): time 2.535e-06/0.8089, allocations: 1.031 kB / 1.167 GB, free: 172 kB / 0.9044 GB Notification: Performance of matching and sorting (n=57): time 0.002542/0.8115, allocations: 1.219 MB / 1.168 GB, free: 15.3 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.8115, allocations: 57.56 kB / 1.169 GB, free: 15.24 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.8128, allocations: 0.8916 MB / 1.169 GB, free: 14.72 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.325e-05/0.8129, allocations: 38.48 kB / 1.169 GB, free: 14.68 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.8134, allocations: 0.5158 MB / 1.17 GB, free: 14.22 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.8136, allocations: 202 kB / 1.17 GB, free: 14.05 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.8138, allocations: 155.5 kB / 1.17 GB, free: 13.95 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8139, allocations: 336 kB / 1.171 GB, free: 13.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.8143, allocations: 219.3 kB / 1.171 GB, free: 13.51 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.8148, allocations: 392.9 kB / 1.171 GB, free: 13.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.8156, allocations: 0.5654 MB / 1.172 GB, free: 12.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8156, allocations: 1.219 kB / 1.172 GB, free: 12.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001674/0.8173, allocations: 0.8507 MB / 1.173 GB, free: 12.36 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8173, allocations: 7.312 kB / 1.173 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.8173, allocations: 8.297 kB / 1.173 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.8179, allocations: 161.1 kB / 1.173 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.8184, allocations: 136.2 kB / 1.173 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/0.8221, allocations: 5.266 MB / 1.178 GB, free: 6.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.8229, allocations: 81.23 kB / 1.178 GB, free: 6.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.8229, allocations: 30.12 kB / 1.178 GB, free: 6.828 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006525/0.8236, allocations: 445.4 kB / 1.179 GB, free: 6.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004845/0.8241, allocations: 392.1 kB / 1.179 GB, free: 6.242 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007913/0.8249, allocations: 0.5641 MB / 1.179 GB, free: 5.863 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.8249, allocations: 1.625 kB / 1.179 GB, free: 5.863 MB / 0.92 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001458/0.8264, allocations: 0.8228 MB / 1.18 GB, free: 5.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.8264, allocations: 10.69 kB / 1.18 GB, free: 5.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8264, allocations: 7.969 kB / 1.18 GB, free: 5.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/0.8267, allocations: 135.4 kB / 1.18 GB, free: 5.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.8272, allocations: 140.9 kB / 1.181 GB, free: 5.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.8317, allocations: 6.421 MB / 1.187 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/0.8325, allocations: 68.03 kB / 1.187 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.8326, allocations: 34.66 kB / 1.187 GB, free: 14.71 MB / 0.9356 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.000239/0.8328, allocations: 223.7 kB / 1.187 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.8331, allocations: 109 kB / 1.187 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.8345, allocations: 0.7024 MB / 1.188 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009347/0.8354, allocations: 0.652 MB / 1.189 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8354, allocations: 0 / 1.189 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.8359, allocations: 252.2 kB / 1.189 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.8361, allocations: 10.81 kB / 1.189 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/0.8366, allocations: 20.39 kB / 1.189 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.8367, allocations: 45.48 kB / 1.189 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001536/0.8383, allocations: 0.7399 MB / 1.19 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00128/0.8396, allocations: 0.9899 MB / 1.191 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000308/0.8399, allocations: 218.8 kB / 1.191 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008339/0.8407, allocations: 0.6177 MB / 1.191 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of Backend: time 4.61e-07/0.8407, allocations: 0 / 1.191 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004241/0.845, allocations: 2.173 MB / 1.193 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004755/0.8497, allocations: 2.858 MB / 1.196 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of Templates: time 0.0453/0.8951, allocations: 27.63 MB / 1.223 GB, free: 2.246 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches