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.2/2.2, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001066/0.001066, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008494/0.0008494, allocations: 87.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.481e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2552, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.323, allocations: 381.5 MB / 1.591 GB, free: 4.496 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.323, allocations: 100.3 kB / 1.591 GB, free: 4.434 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03827/1.361, allocations: 16.71 MB / 1.608 GB, free: 4.137 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.773e-06/1.361, allocations: 0 / 1.608 GB, free: 4.137 MB / 1.057 GB Notification: Performance of Transformations before backend: time 7.685e-06/1.361, allocations: 0 / 1.608 GB, free: 4.137 MB / 1.057 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.0003575/1.362, allocations: 374.3 kB / 1.608 GB, free: 3.727 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.362, allocations: 8.031 kB / 1.608 GB, free: 3.719 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/1.362, allocations: 7.953 kB / 1.608 GB, free: 3.711 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/1.362, allocations: 163.7 kB / 1.608 GB, free: 3.512 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.362, allocations: 4 kB / 1.608 GB, free: 3.508 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/1.362, allocations: 0 / 1.608 GB, free: 3.508 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.968e-05/1.362, allocations: 33.69 kB / 1.608 GB, free: 3.469 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/1.362, allocations: 0 / 1.608 GB, free: 3.469 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/1.362, allocations: 8 kB / 1.608 GB, free: 3.461 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.362, allocations: 0 / 1.608 GB, free: 3.461 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.428e-05/1.362, allocations: 11.89 kB / 1.608 GB, free: 3.449 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/1.362, allocations: 161.6 kB / 1.608 GB, free: 3.242 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/1.362, allocations: 18.58 kB / 1.608 GB, free: 3.215 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/1.362, allocations: 12.91 kB / 1.608 GB, free: 3.199 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/1.363, allocations: 97.09 kB / 1.609 GB, free: 3.086 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/1.363, allocations: 34.55 kB / 1.609 GB, free: 3.043 MB / 1.057 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/1.363, allocations: 8 kB / 1.609 GB, free: 3.035 MB / 1.057 GB Notification: Performance of matching and sorting (n=2): time 0.0001356/1.363, allocations: 37.64 kB / 1.609 GB, free: 2.992 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/1.363, allocations: 51.41 kB / 1.609 GB, free: 2.93 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/1.363, allocations: 96.94 kB / 1.609 GB, free: 2.828 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/1.363, allocations: 25.7 kB / 1.609 GB, free: 2.797 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/1.363, allocations: 80.14 kB / 1.609 GB, free: 2.715 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/1.363, allocations: 11.89 kB / 1.609 GB, free: 2.703 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/1.363, allocations: 3.938 kB / 1.609 GB, free: 2.699 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/1.363, allocations: 322.8 kB / 1.609 GB, free: 2.375 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/1.363, allocations: 4 kB / 1.609 GB, free: 2.371 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-06/1.363, allocations: 0 / 1.609 GB, free: 2.371 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.665e-05/1.363, allocations: 4 kB / 1.609 GB, free: 2.367 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.363, allocations: 0 / 1.609 GB, free: 2.367 MB / 1.057 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.16e-05/1.363, allocations: 45.62 kB / 1.609 GB, free: 2.316 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.363, allocations: 9.25 kB / 1.609 GB, free: 2.309 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/1.363, allocations: 0 / 1.609 GB, free: 2.309 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/1.363, allocations: 0 / 1.609 GB, free: 2.309 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/1.363, allocations: 8.094 kB / 1.609 GB, free: 2.301 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.363, allocations: 0 / 1.609 GB, free: 2.301 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/1.363, allocations: 0 / 1.609 GB, free: 2.301 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/1.363, allocations: 0 / 1.609 GB, free: 2.301 MB / 1.057 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 6.054e-05/1.363, allocations: 108.9 kB / 1.609 GB, free: 2.188 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/1.363, allocations: 0 / 1.609 GB, free: 2.188 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/1.364, allocations: 48.81 kB / 1.609 GB, free: 2.133 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/1.364, allocations: 3.938 kB / 1.609 GB, free: 2.129 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.364, allocations: 4.031 kB / 1.609 GB, free: 2.125 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/1.364, allocations: 0 / 1.609 GB, free: 2.125 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/1.364, allocations: 157.6 kB / 1.61 GB, free: 1.922 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.364, allocations: 0 / 1.61 GB, free: 1.922 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/1.364, allocations: 4 kB / 1.61 GB, free: 1.918 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/1.364, allocations: 0 / 1.61 GB, free: 1.918 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/1.364, allocations: 0 / 1.61 GB, free: 1.918 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.364, allocations: 3.984 kB / 1.61 GB, free: 1.914 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/1.364, allocations: 0 / 1.61 GB, free: 1.914 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.835e-05/1.364, allocations: 77.23 kB / 1.61 GB, free: 1.82 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/1.364, allocations: 77.11 kB / 1.61 GB, free: 1.727 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/1.364, allocations: 11.98 kB / 1.61 GB, free: 1.715 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/1.364, allocations: 0 / 1.61 GB, free: 1.715 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/1.364, allocations: 3.938 kB / 1.61 GB, free: 1.711 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/1.364, allocations: 0 / 1.61 GB, free: 1.711 MB / 1.057 GB Notification: Performance of sorting global known variables: time 4.035e-05/1.364, allocations: 83.28 kB / 1.61 GB, free: 1.629 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.3e-07/1.364, allocations: 3.938 kB / 1.61 GB, free: 1.625 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002076/1.364, allocations: 31.97 kB / 1.61 GB, free: 1.594 MB / 1.057 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.0002636/1.364, allocations: 159.1 kB / 1.61 GB, free: 1.43 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 6.802e-05/1.365, allocations: 15.98 kB / 1.61 GB, free: 1.414 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.365, allocations: 0 / 1.61 GB, free: 1.414 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/1.365, allocations: 4 kB / 1.61 GB, free: 1.41 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/1.365, allocations: 13.09 kB / 1.61 GB, free: 1.398 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001591/1.365, allocations: 53 kB / 1.61 GB, free: 1.324 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/1.365, allocations: 0.6811 MB / 1.611 GB, free: 0.6172 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 2.925e-05/1.365, allocations: 11.92 kB / 1.611 GB, free: 0.6055 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/1.365, allocations: 7.438 kB / 1.611 GB, free: 0.5977 MB / 1.057 GB Notification: Performance of SimCode: time 2.41e-07/1.365, allocations: 0 / 1.611 GB, free: 0.5977 MB / 1.057 GB Notification: Performance of Templates: time 0.003098/1.368, allocations: 1.105 MB / 1.612 GB, free: 15.5 MB / 1.073 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