Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005412/0.005412, allocations: 97.92 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 194.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.674/2.674, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 59.91 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7467, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00236/0.749, allocations: 1.289 MB / 1.221 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004444/0.7535, allocations: 3.771 MB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.7536, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.7536, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.754, allocations: 103.4 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.7543, allocations: 127.6 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.7544, allocations: 35.84 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.023e-05/0.7545, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.7546, allocations: 27.86 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.7547, allocations: 39.95 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.7547, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.7552, allocations: 307.6 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.7552, allocations: 0 / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.7552, allocations: 11.92 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.7554, allocations: 119.4 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7555, allocations: 0 / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7555, allocations: 4 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.7555, allocations: 0 / 1.226 GB, free: 12.19 MB / 0.9512 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.0004147/0.7559, allocations: 359.1 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.7559, allocations: 12.02 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.756, allocations: 30.75 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.756, allocations: 4.938 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.7561, allocations: 164.3 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.7562, allocations: 384 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.7562, allocations: 384 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.548e-05/0.7563, allocations: 45.62 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.7563, allocations: 3.938 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-06/0.7563, allocations: 0 / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7563, allocations: 7.984 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.7563, allocations: 4 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.7565, allocations: 153.7 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.077e-05/0.7566, allocations: 22.52 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.7566, allocations: 16.92 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.7568, allocations: 97.03 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.7569, allocations: 38.48 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7569, allocations: 4 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001343/0.757, allocations: 45.59 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.757, allocations: 51.53 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.7571, allocations: 109.8 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.7572, allocations: 25.7 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.7572, allocations: 84.12 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.7572, allocations: 3.953 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.7573, allocations: 13.72 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7574, allocations: 318.8 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.7574, allocations: 4 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.7574, allocations: 8 kB / 1.227 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.357e-05/0.7575, allocations: 16.8 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.7575, allocations: 0 / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.356e-05/0.7575, allocations: 37.89 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.7576, allocations: 8 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.7576, allocations: 0 / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.7576, allocations: 0 / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.06e-05/0.7576, allocations: 11.98 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.7577, allocations: 0 / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.7577, allocations: 4.094 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.7577, allocations: 0 / 1.227 GB, free: 10.27 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.7578, allocations: 114.6 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.7578, allocations: 3.938 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.7579, allocations: 52.75 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7579, allocations: 0 / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7579, allocations: 0 / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.7579, allocations: 0 / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.758, allocations: 161.7 kB / 1.228 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.758, allocations: 3.938 kB / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.7581, allocations: 4 kB / 1.228 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7581, allocations: 0 / 1.228 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.7581, allocations: 3.938 kB / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7581, allocations: 0 / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7581, allocations: 0 / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.221e-05/0.7582, allocations: 69.06 kB / 1.228 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.7582, allocations: 85.08 kB / 1.228 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.7583, allocations: 7.938 kB / 1.228 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.7583, allocations: 3.984 kB / 1.228 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.7583, allocations: 0 / 1.228 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.7583, allocations: 0 / 1.228 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.7584, allocations: 83.28 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7584, allocations: 0 / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002116/0.7586, allocations: 27.88 kB / 1.228 GB, free: 9.559 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004777/0.7591, allocations: 0.6319 MB / 1.229 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.156e-05/0.7591, allocations: 11.94 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7592, allocations: 4 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.7592, allocations: 4 kB / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.7594, allocations: 0 / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.7598, allocations: 179 kB / 1.229 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.76, allocations: 0.6768 MB / 1.23 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.7601, allocations: 0 / 1.23 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.7601, allocations: 15.44 kB / 1.23 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7601, allocations: 0 / 1.23 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.7804, allocations: 1.66 MB / 1.231 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/8.357, allocations: 9.344 kB / 1.231 GB, free: 6.426 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches