Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001128/0.001129, allocations: 180.2 kB / 498.1 MB, free: 5.684 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.554/1.554, allocations: 223.2 MB / 0.7948 GB, free: 17.78 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.00103/0.00103, allocations: 99.27 kB / 0.9346 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003986, allocations: 6.781 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.325, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.395, allocations: 380.7 MB / 1.595 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.395, allocations: 94.16 kB / 1.595 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03342/1.429, allocations: 16.75 MB / 1.611 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.793e-06/1.429, allocations: 0 / 1.611 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.429, allocations: 4 kB / 1.611 GB, free: 0.8828 MB / 0.9167 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.0003091/1.429, allocations: 369.9 kB / 1.611 GB, free: 488 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.429, allocations: 12.03 kB / 1.612 GB, free: 476 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/1.429, allocations: 11.8 kB / 1.612 GB, free: 464 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/1.429, allocations: 179 kB / 1.612 GB, free: 244 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/1.429, allocations: 4 kB / 1.612 GB, free: 240 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/1.429, allocations: 0 / 1.612 GB, free: 240 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.068e-05/1.43, allocations: 36.45 kB / 1.612 GB, free: 200 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/1.43, allocations: 0 / 1.612 GB, free: 200 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/1.43, allocations: 0 / 1.612 GB, free: 200 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/1.43, allocations: 0 / 1.612 GB, free: 200 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/1.43, allocations: 7.953 kB / 1.612 GB, free: 192 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/1.43, allocations: 153.2 kB / 1.612 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.024e-05/1.43, allocations: 29.97 kB / 1.612 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/1.43, allocations: 97.16 kB / 1.612 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/1.43, allocations: 30.56 kB / 1.612 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/1.43, allocations: 0 / 1.612 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001717/1.43, allocations: 48.28 kB / 1.612 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/1.43, allocations: 58.38 kB / 1.612 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/1.43, allocations: 89 kB / 1.612 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/1.43, allocations: 29.02 kB / 1.612 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/1.431, allocations: 80.14 kB / 1.612 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/1.431, allocations: 7.906 kB / 1.612 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/1.431, allocations: 0 / 1.612 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.431, allocations: 321.7 kB / 1.613 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/1.431, allocations: 4 kB / 1.613 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/1.431, allocations: 4 kB / 1.613 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/1.431, allocations: 4 kB / 1.613 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/1.431, allocations: 0 / 1.613 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.208e-05/1.431, allocations: 40.7 kB / 1.613 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.431, allocations: 11.98 kB / 1.613 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.431, allocations: 3.938 kB / 1.613 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.431, allocations: 0 / 1.613 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/1.431, allocations: 4 kB / 1.613 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/1.431, allocations: 0 / 1.613 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/1.431, allocations: 8 kB / 1.613 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/1.431, allocations: 0 / 1.613 GB, free: 15.07 MB / 0.9323 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 9.441e-05/1.431, allocations: 113.4 kB / 1.613 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/1.431, allocations: 4 kB / 1.613 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/1.431, allocations: 51.38 kB / 1.613 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.431, allocations: 3.938 kB / 1.613 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.431, allocations: 4 kB / 1.613 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/1.431, allocations: 0 / 1.613 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/1.431, allocations: 160.8 kB / 1.613 GB, free: 14.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.431, allocations: 0 / 1.613 GB, free: 14.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/1.431, allocations: 4 kB / 1.613 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.431, allocations: 0 / 1.613 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/1.431, allocations: 0 / 1.613 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/1.431, allocations: 0 / 1.613 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.431, allocations: 256 / 1.613 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.065e-05/1.432, allocations: 71.27 kB / 1.613 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/1.432, allocations: 85.05 kB / 1.613 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/1.432, allocations: 7.984 kB / 1.613 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/1.432, allocations: 3.938 kB / 1.613 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/1.432, allocations: 4 kB / 1.613 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/1.432, allocations: 0 / 1.613 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.266e-05/1.432, allocations: 82.59 kB / 1.613 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/1.432, allocations: 0 / 1.613 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002516/1.432, allocations: 27.98 kB / 1.613 GB, free: 14.38 MB / 0.9323 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.0003062/1.432, allocations: 170.8 kB / 1.613 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.933e-05/1.432, allocations: 4 kB / 1.613 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.432, allocations: 0 / 1.613 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-05/1.432, allocations: 8 kB / 1.613 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/1.433, allocations: 3.953 kB / 1.613 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/1.433, allocations: 166.4 kB / 1.614 GB, free: 14 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/1.433, allocations: 0.677 MB / 1.614 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 2.995e-05/1.433, allocations: 4 kB / 1.614 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/1.433, allocations: 7.438 kB / 1.614 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of SimCode: time 2.5e-07/1.433, allocations: 0 / 1.614 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of Templates: time 0.003292/1.437, allocations: 1.043 MB / 1.615 GB, free: 12.26 MB / 0.9323 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches