Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001147/0.001147, allocations: 110.9 kB / 16.41 MB, free: 5.918 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.001085/0.001085, allocations: 191 kB / 17.35 MB, free: 5.555 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.325/1.325, 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 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 60.12 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6753/0.6766, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.03837/0.715, allocations: 40.56 MB / 1.207 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.7315, allocations: 12.44 MB / 1.219 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.7333, allocations: 59.69 kB / 1.219 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.7353, allocations: 0.6988 MB / 1.22 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005499/0.7408, allocations: 2.188 MB / 1.222 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.7442, allocations: 1.426 MB / 1.223 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.7485, allocations: 3.57 MB / 1.227 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.7502, allocations: 1.204 MB / 1.228 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.753, allocations: 1.333 MB / 1.229 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.7547, allocations: 0.9957 MB / 1.23 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.7549, allocations: 132 kB / 1.23 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.7581, allocations: 1.63 MB / 1.232 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004137/0.7585, allocations: 334.8 kB / 1.232 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.7596, allocations: 0.7388 MB / 1.233 GB, free: 288 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.7636, allocations: 2.648 MB / 1.236 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7636, allocations: 0 / 1.236 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7636, allocations: 3.984 kB / 1.236 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.611e-05/0.7636, allocations: 4 kB / 1.236 GB, free: 13.62 MB / 0.9669 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.003141/0.7668, allocations: 1.789 MB / 1.237 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.7668, allocations: 12.86 kB / 1.237 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.7673, allocations: 160 kB / 1.238 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.7692, allocations: 1.188 MB / 1.239 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.7693, allocations: 66 kB / 1.239 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.7694, allocations: 88 kB / 1.239 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.7708, allocations: 0.9089 MB / 1.24 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.7709, allocations: 7.953 kB / 1.24 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.712e-05/0.771, allocations: 35.98 kB / 1.24 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.771, allocations: 24 kB / 1.24 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.7721, allocations: 0.6441 MB / 1.24 GB, free: 8.582 MB / 0.9669 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.00474/0.7768, allocations: 4.305 MB / 1.245 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.7777, allocations: 0.4933 MB / 1.245 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.7783, allocations: 314.2 kB / 1.245 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.7789, allocations: 0.6143 MB / 1.246 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.7789, allocations: 39.12 kB / 1.246 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=57): time 2.415e-06/0.7789, allocations: 0 / 1.246 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57): time 0.002376/0.7813, allocations: 1.216 MB / 1.247 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.7813, allocations: 55.97 kB / 1.247 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.7825, allocations: 0.8955 MB / 1.248 GB, free: 96 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.7825, allocations: 41.7 kB / 1.248 GB, free: 48 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.7829, allocations: 0.5239 MB / 1.249 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.7831, allocations: 210.2 kB / 1.249 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.7833, allocations: 154.6 kB / 1.249 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7834, allocations: 342 kB / 1.249 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.7838, allocations: 216.7 kB / 1.25 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.7843, allocations: 393.1 kB / 1.25 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.7851, allocations: 0.5682 MB / 1.251 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.7851, allocations: 0 / 1.251 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001601/0.7867, allocations: 0.8628 MB / 1.251 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.7867, allocations: 8 kB / 1.251 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.7867, allocations: 4 kB / 1.251 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/0.7873, allocations: 159.7 kB / 1.252 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.7879, allocations: 139.8 kB / 1.252 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.7913, allocations: 5.26 MB / 1.257 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.7921, allocations: 83.44 kB / 1.257 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.7921, allocations: 31.98 kB / 1.257 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006512/0.7928, allocations: 446 kB / 1.257 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004716/0.7933, allocations: 392.6 kB / 1.258 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007882/0.7941, allocations: 0.5603 MB / 1.258 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.7941, allocations: 0 / 1.258 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001424/0.7955, allocations: 0.8355 MB / 1.259 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.7955, allocations: 4 kB / 1.259 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.7956, allocations: 8.344 kB / 1.259 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/0.7959, allocations: 123.4 kB / 1.259 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.7964, allocations: 147.8 kB / 1.259 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004256/0.8007, allocations: 6.413 MB / 1.266 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.8014, allocations: 75.62 kB / 1.266 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.8015, allocations: 35.94 kB / 1.266 GB, free: 12.8 MB / 0.9981 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.0002008/0.8017, allocations: 220.3 kB / 1.266 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.8019, allocations: 107.3 kB / 1.266 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.8032, allocations: 0.7075 MB / 1.267 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009278/0.8041, allocations: 0.6534 MB / 1.267 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.8042, allocations: 0 / 1.267 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.8045, allocations: 260.1 kB / 1.268 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.8046, allocations: 12 kB / 1.268 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.8052, allocations: 19.98 kB / 1.268 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.8053, allocations: 44.48 kB / 1.268 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00151/0.8068, allocations: 0.7401 MB / 1.268 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001244/0.808, allocations: 0.9947 MB / 1.269 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003009/0.8083, allocations: 220.4 kB / 1.27 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007716/0.8091, allocations: 0.6102 MB / 1.27 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of Backend: time 8.92e-07/0.8091, allocations: 3.938 kB / 1.27 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003807/0.8129, allocations: 2.18 MB / 1.272 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of SimCode: time 0.004468/0.8174, allocations: 2.901 MB / 1.275 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of Templates: time 0.04271/0.8601, allocations: 27.64 MB / 1.302 GB, free: 7.488 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches