Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [: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 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 181.2 kB / 316 MB, free: 3.613 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000792/0.000792, allocations: 88.47 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.711e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5732/0.7171, allocations: 362 MB / 1.238 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.7173, allocations: 88.75 kB / 1.238 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.2802/0.9975, allocations: 15.7 MB / 1.254 GB, free: 312.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9976, allocations: 0 / 1.254 GB, free: 312.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002158/0.9978, allocations: 369.3 kB / 1.254 GB, free: 312.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.9978, allocations: 7.812 kB / 1.254 GB, free: 312.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.9979, allocations: 17.5 kB / 1.254 GB, free: 312.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.345e-05/0.998, allocations: 163 kB / 1.254 GB, free: 312 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.998, allocations: 0 / 1.254 GB, free: 312 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.998, allocations: 3.938 kB / 1.254 GB, free: 312 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.46e-05/0.998, allocations: 3.656 kB / 1.254 GB, free: 312 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.438e-05/0.9981, allocations: 32.97 kB / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.9981, allocations: 0 / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.9981, allocations: 3.906 kB / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.9981, allocations: 0 / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.304e-05/0.9982, allocations: 139.5 kB / 1.254 GB, free: 311.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.682e-05/0.9983, allocations: 22.3 kB / 1.254 GB, free: 311.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.9983, allocations: 11.92 kB / 1.254 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.9985, allocations: 98.14 kB / 1.254 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.9985, allocations: 32.72 kB / 1.254 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.9985, allocations: 0 / 1.254 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001816/0.9987, allocations: 48.92 kB / 1.254 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.429e-05/0.9987, allocations: 58.25 kB / 1.255 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.143e-05/0.9988, allocations: 90.47 kB / 1.255 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.9988, allocations: 25.7 kB / 1.255 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.049e-05/0.9988, allocations: 83.27 kB / 1.255 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.9988, allocations: 6.562 kB / 1.255 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.9988, allocations: 0 / 1.255 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 3.41e-05/0.9989, allocations: 314.6 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.9989, allocations: 8.156 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.9989, allocations: 2.625 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.549e-05/0.999, allocations: 10.2 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.999, allocations: 0 / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.9991, allocations: 56.92 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/0.9991, allocations: 3.438 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.9991, allocations: 4.641 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.9991, allocations: 6.094 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.335e-05/0.9992, allocations: 1.375 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.9992, allocations: 1.484 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.9992, allocations: 2.562 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.9992, allocations: 3.281 kB / 1.255 GB, free: 311 MB / 0.8542 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.9993, allocations: 115.8 kB / 1.255 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.9993, allocations: 0 / 1.255 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.9994, allocations: 65.02 kB / 1.255 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.9994, allocations: 0 / 1.255 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9994, allocations: 0 / 1.255 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9994, allocations: 5.125 kB / 1.255 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.713e-05/0.9995, allocations: 140.3 kB / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9995, allocations: 3.797 kB / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.9995, allocations: 3.812 kB / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.9995, allocations: 0 / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.9995, allocations: 0 / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.9996, allocations: 0 / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9996, allocations: 0 / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001169/0.9997, allocations: 80.08 kB / 1.256 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.9997, allocations: 88.28 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.9997, allocations: 0 / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.9998, allocations: 3.906 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.9998, allocations: 0.75 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.9998, allocations: 4.781 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.767e-05/0.9998, allocations: 78.78 kB / 1.256 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002033/1, allocations: 32.84 kB / 1.256 GB, free: 310.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001893/1, allocations: 159.2 kB / 1.256 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.658e-05/1, allocations: 14 kB / 1.256 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/1, allocations: 0 / 1.256 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/1, allocations: 5.438 kB / 1.256 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/1, allocations: 0 / 1.256 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001463/1.001, allocations: 68.56 kB / 1.256 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.522e-05/1.001, allocations: 0.687 MB / 1.257 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.2e-07/1.001, allocations: 0 / 1.257 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.002475/1.003, allocations: 0.98 MB / 1.258 GB, free: 309.5 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches