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.693/2.693, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00115/0.00115, allocations: 173.3 kB / 498.1 MB, free: 5.77 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.501/1.501, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0008888/0.0008887, allocations: 98.5 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004352, allocations: 8.312 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2855, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/0.4976, allocations: 157.3 MB / 1.377 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.498, allocations: 107.9 kB / 1.377 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05436/0.5524, allocations: 16.48 MB / 1.393 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.929e-06/0.5524, allocations: 0 / 1.393 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.481e-05/0.5525, allocations: 11.94 kB / 1.393 GB, free: 4.129 MB / 0.8855 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.00208/0.5546, allocations: 0.8667 MB / 1.394 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5546, allocations: 12.03 kB / 1.394 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.5548, allocations: 39.53 kB / 1.394 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006459/0.5554, allocations: 377.8 kB / 1.394 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.5555, allocations: 24 kB / 1.394 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.5556, allocations: 36 kB / 1.394 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.556, allocations: 213.5 kB / 1.394 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.556, allocations: 0 / 1.394 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.556, allocations: 4 kB / 1.394 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.556, allocations: 7.984 kB / 1.394 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.5563, allocations: 175.9 kB / 1.394 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.5613, allocations: 1.534 MB / 1.396 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.5632, allocations: 0.5808 MB / 1.396 GB, free: 112 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.5632, allocations: 4 kB / 1.396 GB, free: 108 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.5633, allocations: 38.52 kB / 1.397 GB, free: 60 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 1.854e-06/0.5633, allocations: 7.938 kB / 1.397 GB, free: 52 kB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.001225/0.5645, allocations: 0.5525 MB / 1.397 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.5645, allocations: 51.41 kB / 1.397 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.5649, allocations: 352.6 kB / 1.397 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/0.565, allocations: 41.7 kB / 1.397 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5651, allocations: 169 kB / 1.398 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.5653, allocations: 98.64 kB / 1.398 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.5653, allocations: 12 kB / 1.398 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5655, allocations: 350.8 kB / 1.398 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/0.5661, allocations: 349.1 kB / 1.398 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/0.5667, allocations: 409.5 kB / 1.399 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.5674, allocations: 420.7 kB / 1.399 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5674, allocations: 4 kB / 1.399 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001598/0.569, allocations: 0.9249 MB / 1.4 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.5691, allocations: 45.69 kB / 1.4 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5691, allocations: 0 / 1.4 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.5693, allocations: 28.84 kB / 1.4 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.5703, allocations: 151.8 kB / 1.4 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.5714, allocations: 1.331 MB / 1.402 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.5732, allocations: 115.4 kB / 1.402 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.5733, allocations: 19.98 kB / 1.402 GB, free: 10.44 MB / 0.9011 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 () * Number of clocked 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.000273/0.5736, allocations: 194.1 kB / 1.402 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.5736, allocations: 27.62 kB / 1.402 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.5737, allocations: 39.48 kB / 1.402 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5737, allocations: 4 kB / 1.402 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5738, allocations: 3.984 kB / 1.402 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5738, allocations: 0 / 1.402 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.5743, allocations: 0.5084 MB / 1.403 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5743, allocations: 0 / 1.403 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.5746, allocations: 51.91 kB / 1.403 GB, free: 9.562 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001125/0.5748, allocations: 24.84 kB / 1.403 GB, free: 9.535 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.5748, allocations: 19.98 kB / 1.403 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009433/0.5757, allocations: 1.331 MB / 1.404 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5758, allocations: 0 / 1.404 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.5766, allocations: 0.5955 MB / 1.404 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5767, allocations: 120.8 kB / 1.405 GB, free: 7.301 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.5768, allocations: 15.94 kB / 1.405 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007121/0.5775, allocations: 27.95 kB / 1.405 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.5776, allocations: 11.98 kB / 1.405 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.5776, allocations: 11.98 kB / 1.405 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002726/0.5779, allocations: 255.2 kB / 1.405 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5779, allocations: 0 / 1.405 GB, free: 6.988 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008839/0.5788, allocations: 283.8 kB / 1.405 GB, free: 6.711 MB / 0.9011 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 () * Number of clocked 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.0003983/0.5792, allocations: 242.1 kB / 1.405 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.5804, allocations: 0.7495 MB / 1.406 GB, free: 5.688 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5805, allocations: 3.938 kB / 1.406 GB, free: 5.684 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.5808, allocations: 266.4 kB / 1.406 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.5813, allocations: 77.47 kB / 1.406 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.5833, allocations: 1.524 MB / 1.408 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.5837, allocations: 0.8196 MB / 1.409 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003391/0.584, allocations: 110.8 kB / 1.409 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.5842, allocations: 35.41 kB / 1.409 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of SimCode: time 6.61e-07/0.5842, allocations: 0 / 1.409 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of Templates: time 0.01493/0.5991, allocations: 8.763 MB / 1.417 GB, free: 10.14 MB / 0.9167 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