Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 387.1 MB / 399.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 176.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.3 MB / 0.7871 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009813, allocations: 97.77 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.04e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9742/1.259, allocations: 157.2 MB / 1.366 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.259, allocations: 100.9 kB / 1.366 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0487/1.308, allocations: 16.49 MB / 1.382 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.308, allocations: 0 / 1.382 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.378e-05/1.308, allocations: 7.719 kB / 1.382 GB, free: 31.82 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001767/1.31, allocations: 0.8171 MB / 1.383 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.31, allocations: 7.719 kB / 1.383 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/1.31, allocations: 41.94 kB / 1.383 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/1.31, allocations: 372.4 kB / 1.383 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.311, allocations: 24.78 kB / 1.383 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.779e-05/1.311, allocations: 35.06 kB / 1.383 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/1.311, allocations: 196.8 kB / 1.384 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.311, allocations: 0 / 1.384 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/1.311, allocations: 14.38 kB / 1.384 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.311, allocations: 3.969 kB / 1.384 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/1.311, allocations: 164.1 kB / 1.384 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004397/1.316, allocations: 1.531 MB / 1.385 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/1.317, allocations: 0.5757 MB / 1.386 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/1.317, allocations: 135 kB / 1.386 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/1.317, allocations: 0.8125 kB / 1.386 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/1.317, allocations: 41.73 kB / 1.386 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/1.317, allocations: 0 / 1.386 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0006769/1.318, allocations: 337 kB / 1.386 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/1.318, allocations: 59.05 kB / 1.386 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/1.318, allocations: 344.5 kB / 1.387 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/1.319, allocations: 38.75 kB / 1.387 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/1.319, allocations: 171.5 kB / 1.387 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/1.319, allocations: 84.75 kB / 1.387 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/1.319, allocations: 13.72 kB / 1.387 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.319, allocations: 351.1 kB / 1.387 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/1.319, allocations: 337.3 kB / 1.388 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/1.32, allocations: 400.5 kB / 1.388 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/1.321, allocations: 405.3 kB / 1.388 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.321, allocations: 0 / 1.388 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001345/1.322, allocations: 0.9161 MB / 1.389 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/1.322, allocations: 33.39 kB / 1.389 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.322, allocations: 3.938 kB / 1.389 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/1.322, allocations: 35.5 kB / 1.389 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/1.323, allocations: 155.2 kB / 1.39 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009367/1.324, allocations: 1.325 MB / 1.391 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.325, allocations: 109.3 kB / 1.391 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/1.325, allocations: 22.3 kB / 1.391 GB, free: 27.06 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/1.326, allocations: 135.6 kB / 1.391 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/1.326, allocations: 27.16 kB / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.68e-05/1.326, allocations: 45.72 kB / 1.391 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.326, allocations: 0 / 1.391 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.326, allocations: 7.844 kB / 1.391 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.326, allocations: 3.984 kB / 1.391 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/1.326, allocations: 0.5043 MB / 1.392 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.326, allocations: 0 / 1.392 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/1.327, allocations: 45.38 kB / 1.392 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.529e-05/1.327, allocations: 27.47 kB / 1.392 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/1.327, allocations: 10.41 kB / 1.392 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007622/1.327, allocations: 1.319 MB / 1.393 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.327, allocations: 0 / 1.393 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/1.328, allocations: 0.5844 MB / 1.394 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/1.328, allocations: 114.6 kB / 1.394 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/1.328, allocations: 11.8 kB / 1.394 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/1.329, allocations: 30.78 kB / 1.394 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/1.329, allocations: 23.12 kB / 1.394 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/1.329, allocations: 3.781 kB / 1.394 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000253/1.329, allocations: 252.9 kB / 1.394 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.329, allocations: 0 / 1.394 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008137/1.33, allocations: 271.5 kB / 1.394 GB, free: 24.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003896/1.33, allocations: 246.9 kB / 1.395 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.331, allocations: 0.7267 MB / 1.395 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.332, allocations: 0 / 1.395 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/1.332, allocations: 253.4 kB / 1.395 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/1.332, allocations: 85.23 kB / 1.396 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/1.334, allocations: 1.175 MB / 1.397 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/1.334, allocations: 0.8149 MB / 1.398 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002937/1.334, allocations: 112.4 kB / 1.398 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.334, allocations: 38.23 kB / 1.398 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.334, allocations: 0 / 1.398 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of Templates: time 0.01297/1.347, allocations: 9.016 MB / 1.406 GB, free: 15.6 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches