Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2/2, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001029/0.001029, allocations: 188.5 kB / 490.8 MB, free: 1.938 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.395/1.395, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.001019/0.001019, allocations: 95.75 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.833e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2734, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6858/0.9593, allocations: 157.3 MB / 1.365 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.9596, allocations: 106 kB / 1.365 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.05252/1.012, allocations: 15.98 MB / 1.381 GB, free: 14.85 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.395e-05/1.012, allocations: 6.688 kB / 1.381 GB, free: 14.85 MB / 0.823 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.002043/1.014, allocations: 0.7996 MB / 1.382 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.014, allocations: 9.312 kB / 1.382 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/1.014, allocations: 41.84 kB / 1.382 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/1.015, allocations: 369.9 kB / 1.382 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/1.015, allocations: 5 kB / 1.382 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.684e-05/1.015, allocations: 26.09 kB / 1.382 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003172/1.015, allocations: 162.9 kB / 1.382 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/1.016, allocations: 189.9 kB / 1.382 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.016, allocations: 7.938 kB / 1.382 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/1.016, allocations: 0 / 1.382 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.016, allocations: 3.875 kB / 1.382 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/1.017, allocations: 0.9462 MB / 1.383 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/1.018, allocations: 297.2 kB / 1.384 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/1.018, allocations: 134.6 kB / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/1.018, allocations: 2.5 kB / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/1.018, allocations: 35.67 kB / 1.384 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/1.018, allocations: 0 / 1.384 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0006917/1.019, allocations: 329.6 kB / 1.384 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/1.019, allocations: 58.94 kB / 1.384 GB, free: 29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/1.019, allocations: 324.8 kB / 1.385 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/1.019, allocations: 28.33 kB / 1.385 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/1.019, allocations: 135.7 kB / 1.385 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/1.019, allocations: 95.72 kB / 1.385 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/1.019, allocations: 1.25 kB / 1.385 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.019, allocations: 348.1 kB / 1.385 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/1.02, allocations: 345.5 kB / 1.385 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/1.021, allocations: 394.7 kB / 1.386 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/1.021, allocations: 374.8 kB / 1.386 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.021, allocations: 5.156 kB / 1.386 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001579/1.023, allocations: 0.8668 MB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.023, allocations: 4.969 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.023, allocations: 1 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/1.023, allocations: 29.56 kB / 1.387 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/1.024, allocations: 146.6 kB / 1.387 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/1.025, allocations: 1.287 MB / 1.388 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.027, allocations: 88.48 kB / 1.389 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/1.027, allocations: 25.23 kB / 1.389 GB, free: 26.59 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.0001333/1.027, allocations: 117.2 kB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/1.027, allocations: 32.81 kB / 1.389 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/1.027, allocations: 49.28 kB / 1.389 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/1.027, allocations: 2.75 kB / 1.389 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.027, allocations: 0 / 1.389 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.027, allocations: 1.375 kB / 1.389 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/1.027, allocations: 479.9 kB / 1.389 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.027, allocations: 0 / 1.389 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/1.028, allocations: 42.27 kB / 1.389 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.919e-05/1.028, allocations: 31.81 kB / 1.389 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/1.028, allocations: 9.359 kB / 1.389 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008624/1.029, allocations: 1.282 MB / 1.391 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.029, allocations: 5.172 kB / 1.391 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006902/1.029, allocations: 0.5736 MB / 1.391 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/1.03, allocations: 113.2 kB / 1.391 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/1.03, allocations: 11.36 kB / 1.391 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/1.03, allocations: 28.16 kB / 1.391 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/1.03, allocations: 9.266 kB / 1.391 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/1.03, allocations: 8.031 kB / 1.391 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002324/1.031, allocations: 233.1 kB / 1.391 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007821/1.031, allocations: 265.3 kB / 1.392 GB, free: 24.32 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.0003882/1.032, allocations: 250.5 kB / 1.392 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009621/1.033, allocations: 0.7008 MB / 1.393 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.033, allocations: 0 / 1.393 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/1.033, allocations: 239.7 kB / 1.393 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/1.033, allocations: 74.52 kB / 1.393 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/1.035, allocations: 1.178 MB / 1.394 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/1.036, allocations: 0.8685 MB / 1.395 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.036, allocations: 1.375 kB / 1.395 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.01373/1.049, allocations: 7.951 MB / 1.403 GB, free: 18.41 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches