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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 249.3 MB / 261.9 MB, free: 5.879 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.001122/0.001122, allocations: 178.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009603/0.0009601, allocations: 94.77 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.749e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1723, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7937/0.966, allocations: 361.7 MB / 1.245 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.9663, allocations: 97.66 kB / 1.245 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4673/1.434, allocations: 16.03 MB / 1.261 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.725e-06/1.434, allocations: 1.438 kB / 1.261 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.434, allocations: 0 / 1.261 GB, free: 309.7 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.000326/1.434, allocations: 373.3 kB / 1.261 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.434, allocations: 9.062 kB / 1.261 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/1.434, allocations: 5.656 kB / 1.261 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.034e-05/1.434, allocations: 162.4 kB / 1.261 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.434, allocations: 1.719 kB / 1.261 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/1.434, allocations: 9 kB / 1.261 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/1.434, allocations: 34.66 kB / 1.261 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.434, allocations: 0.5625 kB / 1.261 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/1.434, allocations: 0 / 1.261 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.434, allocations: 1.188 kB / 1.261 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.873e-05/1.434, allocations: 4.109 kB / 1.261 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/1.435, allocations: 157.8 kB / 1.262 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/1.435, allocations: 24.14 kB / 1.262 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/1.435, allocations: 20.59 kB / 1.262 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/1.435, allocations: 95.45 kB / 1.262 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/1.435, allocations: 32.31 kB / 1.262 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.435, allocations: 0 / 1.262 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001304/1.435, allocations: 44.27 kB / 1.262 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/1.435, allocations: 55.44 kB / 1.262 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/1.435, allocations: 95.75 kB / 1.262 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/1.435, allocations: 26.67 kB / 1.262 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/1.435, allocations: 85.61 kB / 1.262 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/1.435, allocations: 1.641 kB / 1.262 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/1.435, allocations: 0 / 1.262 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.49e-05/1.435, allocations: 316.7 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/1.435, allocations: 3.047 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.185e-05/1.435, allocations: 14.75 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.832e-05/1.435, allocations: 7.109 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.435, allocations: 0 / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.838e-05/1.435, allocations: 41.27 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.435, allocations: 6.656 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.436, allocations: 0 / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.436, allocations: 0.8438 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/1.436, allocations: 3.812 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.436, allocations: 0.875 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/1.436, allocations: 4.641 kB / 1.262 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/1.436, allocations: 8.938 kB / 1.262 GB, free: 308 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 4.331e-05/1.436, allocations: 106.7 kB / 1.262 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-06/1.436, allocations: 5.547 kB / 1.262 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/1.436, allocations: 50.94 kB / 1.263 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.436, allocations: 0.6562 kB / 1.263 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.436, allocations: 1 kB / 1.263 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.436, allocations: 0.8438 kB / 1.263 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.723e-05/1.436, allocations: 154.5 kB / 1.263 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.436, allocations: 4 kB / 1.263 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/1.436, allocations: 3.219 kB / 1.263 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.436, allocations: 1.453 kB / 1.263 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/1.436, allocations: 1.062 kB / 1.263 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.436, allocations: 0.7969 kB / 1.263 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.436, allocations: 0 / 1.263 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.514e-05/1.436, allocations: 75.19 kB / 1.263 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/1.436, allocations: 83.81 kB / 1.263 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/1.436, allocations: 4.906 kB / 1.263 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/1.436, allocations: 0.5625 kB / 1.263 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/1.436, allocations: 1.562 kB / 1.263 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/1.436, allocations: 0.875 kB / 1.263 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.264e-05/1.436, allocations: 80.75 kB / 1.263 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.436, allocations: 0 / 1.263 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002392/1.436, allocations: 32.7 kB / 1.263 GB, free: 307.3 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.0002706/1.437, allocations: 159 kB / 1.263 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.025e-05/1.437, allocations: 13.02 kB / 1.263 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.437, allocations: 0 / 1.263 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/1.437, allocations: 12.41 kB / 1.263 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/1.437, allocations: 8.781 kB / 1.263 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000175/1.437, allocations: 65.02 kB / 1.263 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/1.437, allocations: 0.6785 MB / 1.264 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.263e-05/1.437, allocations: 11.06 kB / 1.264 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/1.437, allocations: 9.75 kB / 1.264 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/1.437, allocations: 0 / 1.264 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003712/1.441, allocations: 1.102 MB / 1.265 GB, free: 306.3 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