Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.195/2.195, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001313/0.001313, allocations: 178.9 kB / 0.4902 GB, free: 2.227 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.491/1.491, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001008/0.001008, allocations: 98.16 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 10.28 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.363, allocations: 381.5 MB / 1.602 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.364, allocations: 95.44 kB / 1.602 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.03687/1.4, allocations: 16.77 MB / 1.618 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.224e-06/1.4, allocations: 0 / 1.618 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.82e-06/1.4, allocations: 0 / 1.618 GB, free: 1.684 MB / 0.9323 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.0003614/1.401, allocations: 375.4 kB / 1.619 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.401, allocations: 8.562 kB / 1.619 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/1.401, allocations: 11.86 kB / 1.619 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/1.401, allocations: 163.1 kB / 1.619 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.401, allocations: 0 / 1.619 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/1.401, allocations: 0 / 1.619 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.791e-05/1.401, allocations: 41.62 kB / 1.619 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.401, allocations: 3.938 kB / 1.619 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/1.401, allocations: 4 kB / 1.619 GB, free: 1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/1.401, allocations: 0 / 1.619 GB, free: 1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/1.401, allocations: 15.5 kB / 1.619 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/1.401, allocations: 149.1 kB / 1.619 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.05e-05/1.402, allocations: 22.56 kB / 1.619 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/1.402, allocations: 97.16 kB / 1.619 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/1.402, allocations: 41.94 kB / 1.619 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.402, allocations: 0 / 1.619 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001334/1.402, allocations: 41.56 kB / 1.619 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.402, allocations: 51.41 kB / 1.619 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/1.402, allocations: 93 kB / 1.619 GB, free: 412 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/1.402, allocations: 29.83 kB / 1.619 GB, free: 376 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/1.402, allocations: 83.58 kB / 1.619 GB, free: 292 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/1.402, allocations: 3.906 kB / 1.619 GB, free: 288 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/1.402, allocations: 3.938 kB / 1.619 GB, free: 284 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.402, allocations: 322.8 kB / 1.62 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/1.402, allocations: 0 / 1.62 GB, free: 15.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/1.402, allocations: 11.44 kB / 1.62 GB, free: 15.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.787e-05/1.402, allocations: 0 / 1.62 GB, free: 15.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.402, allocations: 4.062 kB / 1.62 GB, free: 15.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.98e-05/1.402, allocations: 41.2 kB / 1.62 GB, free: 15.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.402, allocations: 7.984 kB / 1.62 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.402, allocations: 0 / 1.62 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.402, allocations: 0 / 1.62 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/1.403, allocations: 4 kB / 1.62 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.403, allocations: 0 / 1.62 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/1.403, allocations: 3.938 kB / 1.62 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/1.403, allocations: 4 kB / 1.62 GB, free: 15.88 MB / 0.948 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 (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 7.117e-05/1.403, allocations: 113.8 kB / 1.62 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/1.403, allocations: 3.906 kB / 1.62 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/1.403, allocations: 52.06 kB / 1.62 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.403, allocations: 0 / 1.62 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.403, allocations: 0 / 1.62 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/1.403, allocations: 0 / 1.62 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/1.403, allocations: 157.1 kB / 1.62 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.403, allocations: 0 / 1.62 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/1.403, allocations: 11.94 kB / 1.62 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.403, allocations: 4.031 kB / 1.62 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/1.403, allocations: 4 kB / 1.62 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/1.403, allocations: 0 / 1.62 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.403, allocations: 0 / 1.62 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.914e-05/1.403, allocations: 72.33 kB / 1.62 GB, free: 15.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/1.403, allocations: 85.09 kB / 1.62 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/1.403, allocations: 0 / 1.62 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/1.403, allocations: 0 / 1.62 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/1.403, allocations: 4.031 kB / 1.62 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/1.403, allocations: 4 kB / 1.62 GB, free: 15.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.489e-05/1.403, allocations: 82.91 kB / 1.62 GB, free: 15.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.403, allocations: 0 / 1.62 GB, free: 15.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002046/1.403, allocations: 27.92 kB / 1.62 GB, free: 15.18 MB / 0.948 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 () * Number of clocked 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.0002724/1.404, allocations: 161.2 kB / 1.621 GB, free: 15.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.868e-05/1.404, allocations: 11.62 kB / 1.621 GB, free: 15.01 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/1.404, allocations: 0 / 1.621 GB, free: 15.01 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/1.404, allocations: 12 kB / 1.621 GB, free: 15 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/1.404, allocations: 9.641 kB / 1.621 GB, free: 14.99 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/1.404, allocations: 154.8 kB / 1.621 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/1.404, allocations: 0.677 MB / 1.621 GB, free: 14.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.012e-05/1.404, allocations: 8.062 kB / 1.621 GB, free: 14.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/1.405, allocations: 7.438 kB / 1.621 GB, free: 14.09 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/1.405, allocations: 0 / 1.621 GB, free: 14.09 MB / 0.948 GB Notification: Performance of Templates: time 0.003075/1.408, allocations: 1.04 MB / 1.622 GB, free: 13.07 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches