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.459/1.459, allocations: 249.5 MB / 257 MB, free: 6.875 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.001089/0.001089, allocations: 184.4 kB / 316.3 MB, free: 3.238 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.519/1.519, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.000831/0.0008309, allocations: 98.36 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.023e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1869, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9133/1.1, allocations: 362 MB / 1.239 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.101, allocations: 100.7 kB / 1.239 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4577/1.558, allocations: 15.96 MB / 1.254 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.313e-06/1.558, allocations: 3.938 kB / 1.254 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.096e-06/1.558, allocations: 0.75 kB / 1.254 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.0003261/1.559, allocations: 368.1 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.559, allocations: 9.812 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/1.559, allocations: 4.453 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.404e-05/1.559, allocations: 172.8 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/1.559, allocations: 0 / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.559, allocations: 1.75 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.499e-05/1.559, allocations: 4.828 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.393e-05/1.559, allocations: 33.3 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.559, allocations: 1.203 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/1.559, allocations: 0.9375 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.559, allocations: 0.9688 kB / 1.255 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/1.559, allocations: 136.9 kB / 1.255 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/1.559, allocations: 24.73 kB / 1.255 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/1.559, allocations: 10.73 kB / 1.255 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/1.559, allocations: 96.42 kB / 1.255 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/1.559, allocations: 37.28 kB / 1.255 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.559, allocations: 1.031 kB / 1.255 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002095/1.56, allocations: 47.91 kB / 1.255 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/1.56, allocations: 52.06 kB / 1.255 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/1.56, allocations: 94.81 kB / 1.255 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/1.56, allocations: 26.61 kB / 1.256 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/1.56, allocations: 85.89 kB / 1.256 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/1.56, allocations: 5.156 kB / 1.256 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/1.56, allocations: 2.156 kB / 1.256 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/1.56, allocations: 312.5 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/1.56, allocations: 1.844 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/1.56, allocations: 2.094 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/1.56, allocations: 19.28 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.56, allocations: 1.031 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/1.56, allocations: 62.39 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.56, allocations: 4.594 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.56, allocations: 0.8125 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/1.56, allocations: 0.6094 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/1.56, allocations: 3.969 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.56, allocations: 1.297 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/1.56, allocations: 0.8125 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/1.56, allocations: 5.125 kB / 1.256 GB, free: 308.1 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.472e-05/1.56, allocations: 105.7 kB / 1.256 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/1.56, allocations: 6.203 kB / 1.256 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/1.561, allocations: 54.3 kB / 1.256 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.561, allocations: 5.047 kB / 1.256 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.561, allocations: 0 / 1.256 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/1.561, allocations: 0.6875 kB / 1.256 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.956e-05/1.561, allocations: 132.7 kB / 1.256 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.561, allocations: 4 kB / 1.256 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/1.561, allocations: 8.656 kB / 1.256 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.561, allocations: 4.031 kB / 1.256 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/1.561, allocations: 5.656 kB / 1.256 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.561, allocations: 0 / 1.256 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.561, allocations: 1.812 kB / 1.256 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/1.561, allocations: 71.7 kB / 1.256 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/1.561, allocations: 80.78 kB / 1.256 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/1.561, allocations: 0.7031 kB / 1.256 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/1.561, allocations: 5.047 kB / 1.256 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/1.561, allocations: 5.688 kB / 1.256 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/1.561, allocations: 1.094 kB / 1.256 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.131e-05/1.561, allocations: 82.09 kB / 1.257 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.561, allocations: 0 / 1.257 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002247/1.561, allocations: 28.17 kB / 1.257 GB, free: 307.5 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.0002409/1.561, allocations: 160.8 kB / 1.257 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/1.562, allocations: 12.22 kB / 1.257 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.562, allocations: 0 / 1.257 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/1.562, allocations: 9.75 kB / 1.257 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/1.562, allocations: 7.844 kB / 1.257 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/1.562, allocations: 58.98 kB / 1.257 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/1.562, allocations: 0.6787 MB / 1.257 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.914e-05/1.562, allocations: 3.344 kB / 1.257 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/1.562, allocations: 9.062 kB / 1.257 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.2e-07/1.562, allocations: 4.062 kB / 1.257 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003029/1.565, allocations: 0.9208 MB / 1.258 GB, free: 306.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