Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_10_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.00791/0.00791, allocations: 100.2 kB / 15.73 MB, free: 6.445 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.001883/0.001884, allocations: 195.1 kB / 16.67 MB, free: 6.352 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 67.88 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3047, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003088/0.3078, allocations: 1.286 MB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004667/0.3125, allocations: 3.759 MB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.3126, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.3126, allocations: 3.984 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.3132, allocations: 107.5 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.3136, allocations: 139.2 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.3137, allocations: 27.91 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.3137, allocations: 4 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3138, allocations: 27.86 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3139, allocations: 43.83 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.314, allocations: 0 / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.3144, allocations: 303.6 kB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.3144, allocations: 0 / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.3145, allocations: 15.91 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.3147, allocations: 115.9 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3147, allocations: 3.938 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3147, allocations: 0 / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3147, allocations: 0 / 1.172 GB, free: 1.461 MB / 0.92 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.0004082/0.3151, allocations: 363.1 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3152, allocations: 12.03 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.3152, allocations: 42.69 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.3153, allocations: 4.891 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3154, allocations: 164.4 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.3154, allocations: 384 / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3154, allocations: 384 / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.3155, allocations: 41.62 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3155, allocations: 0 / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.3155, allocations: 0 / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3155, allocations: 0 / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.55e-05/0.3156, allocations: 4 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3157, allocations: 157.7 kB / 1.173 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.474e-05/0.3158, allocations: 26.55 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.3158, allocations: 8.859 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/0.3161, allocations: 105.1 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.3161, allocations: 34.56 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3161, allocations: 0 / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.3163, allocations: 49.64 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3163, allocations: 55.34 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.3164, allocations: 101.8 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.3164, allocations: 29.7 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.3165, allocations: 84.12 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.3165, allocations: 3.953 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.3165, allocations: 17.84 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3166, allocations: 318.8 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.3167, allocations: 4 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-06/0.3167, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.3167, allocations: 16.86 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3167, allocations: 0 / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.121e-05/0.3168, allocations: 41.58 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3168, allocations: 8.078 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3168, allocations: 7.938 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3169, allocations: 4 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.141e-05/0.3169, allocations: 0 / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3169, allocations: 4 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.3169, allocations: 0 / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.317, allocations: 0 / 1.173 GB, free: 15.54 MB / 0.9356 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.061e-05/0.317, allocations: 109.8 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.317, allocations: 11.88 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.3172, allocations: 48.81 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3172, allocations: 0 / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3172, allocations: 0 / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3172, allocations: 4.25 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.3173, allocations: 153.7 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3173, allocations: 11.88 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/0.3173, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3173, allocations: 4 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.3174, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3174, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3174, allocations: 4.031 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.006e-05/0.3175, allocations: 69.08 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.3175, allocations: 85.03 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.3175, allocations: 0 / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.3175, allocations: 0 / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.3176, allocations: 4 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3176, allocations: 0 / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.3176, allocations: 87.31 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3176, allocations: 0 / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002173/0.3178, allocations: 27.86 kB / 1.174 GB, free: 14.82 MB / 0.9356 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.0003997/0.3182, allocations: 0.6318 MB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.413e-05/0.3183, allocations: 16.03 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3183, allocations: 0 / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.3184, allocations: 7.938 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3186, allocations: 4 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.319, allocations: 167.1 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3192, allocations: 0.6807 MB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.3193, allocations: 11.97 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.3193, allocations: 15.44 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3193, allocations: 0 / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.3382, allocations: 1.647 MB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.368, allocations: 12.8 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches