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.333/1.333, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 183.1 kB / 326.5 MB, free: 2.25 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.51/1.51, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009275/0.0009275, allocations: 91.91 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 13.48 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2075, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7773/0.9849, allocations: 361.8 MB / 1.253 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.9853, allocations: 97.3 kB / 1.254 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03568/1.021, allocations: 16.09 MB / 1.269 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.894e-06/1.021, allocations: 0 / 1.269 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.021, allocations: 0 / 1.269 GB, free: 8.117 MB / 0.7761 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.0003449/1.021, allocations: 382.6 kB / 1.27 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.021, allocations: 12.03 kB / 1.27 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/1.021, allocations: 7.953 kB / 1.27 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/1.022, allocations: 163 kB / 1.27 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/1.022, allocations: 0 / 1.27 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/1.022, allocations: 0 / 1.27 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/1.022, allocations: 41 kB / 1.27 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/1.022, allocations: 0 / 1.27 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/1.022, allocations: 0 / 1.27 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.022, allocations: 4 kB / 1.27 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.288e-05/1.022, allocations: 4 kB / 1.27 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/1.022, allocations: 169.2 kB / 1.27 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.47e-05/1.022, allocations: 33.83 kB / 1.27 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/1.022, allocations: 97.14 kB / 1.27 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/1.022, allocations: 30.56 kB / 1.27 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.022, allocations: 8 kB / 1.27 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001341/1.022, allocations: 37.27 kB / 1.27 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.022, allocations: 51.41 kB / 1.27 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/1.023, allocations: 100.9 kB / 1.27 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/1.023, allocations: 25.7 kB / 1.27 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/1.023, allocations: 84.08 kB / 1.27 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/1.023, allocations: 7.844 kB / 1.27 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/1.023, allocations: 0 / 1.27 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.023, allocations: 326.1 kB / 1.271 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/1.023, allocations: 0 / 1.271 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.948e-06/1.023, allocations: 7.984 kB / 1.271 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.549e-05/1.023, allocations: 0 / 1.271 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/1.023, allocations: 0 / 1.271 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.635e-05/1.023, allocations: 41.2 kB / 1.271 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.023, allocations: 4 kB / 1.271 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.023, allocations: 3.984 kB / 1.271 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/1.023, allocations: 0 / 1.271 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/1.023, allocations: 4.094 kB / 1.271 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/1.023, allocations: 4 kB / 1.271 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/1.023, allocations: 0 / 1.271 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/1.023, allocations: 7.984 kB / 1.271 GB, free: 6.293 MB / 0.7761 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.061e-05/1.023, allocations: 117.9 kB / 1.271 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/1.023, allocations: 0 / 1.271 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/1.023, allocations: 48.31 kB / 1.271 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.023, allocations: 0 / 1.271 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.023, allocations: 4.031 kB / 1.271 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/1.023, allocations: 0 / 1.271 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.358e-05/1.023, allocations: 161.3 kB / 1.271 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.023, allocations: 0 / 1.271 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/1.023, allocations: 4 kB / 1.271 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/1.023, allocations: 0 / 1.271 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/1.023, allocations: 0 / 1.271 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.023, allocations: 4 kB / 1.271 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.023, allocations: 0 / 1.271 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.418e-05/1.023, allocations: 76.78 kB / 1.271 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/1.024, allocations: 85.06 kB / 1.271 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/1.024, allocations: 0 / 1.271 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.422e-05/1.024, allocations: 256 / 1.271 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/1.024, allocations: 0 / 1.271 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/1.024, allocations: 8 kB / 1.271 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.191e-05/1.024, allocations: 82.89 kB / 1.271 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/1.024, allocations: 7.938 kB / 1.271 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001979/1.024, allocations: 20 kB / 1.271 GB, free: 5.605 MB / 0.7761 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.0002379/1.024, allocations: 162.9 kB / 1.272 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.143e-05/1.024, allocations: 8 kB / 1.272 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.024, allocations: 3.938 kB / 1.272 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/1.024, allocations: 7.984 kB / 1.272 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/1.024, allocations: 5.281 kB / 1.272 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/1.025, allocations: 152.4 kB / 1.272 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/1.025, allocations: 0.6809 MB / 1.272 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.849e-05/1.025, allocations: 3.938 kB / 1.272 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/1.025, allocations: 19.23 kB / 1.272 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of SimCode: time 2.5e-07/1.025, allocations: 0 / 1.272 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.003016/1.028, allocations: 1.033 MB / 1.273 GB, free: 3.527 MB / 0.7761 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