Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SingleUTubeResistances,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.007986/0.007985, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001958/0.001958, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 68.23 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.283, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002672/0.2857, allocations: 1.469 MB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2872, allocations: 0.9088 MB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.2873, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.2875, allocations: 43.77 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.2876, allocations: 15.84 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.2881, allocations: 204.5 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.894e-05/0.2882, allocations: 47.73 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.2883, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.2883, allocations: 19.86 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.2884, allocations: 19.88 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2884, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.2888, allocations: 179.7 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.2888, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.2888, allocations: 19.88 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.2891, allocations: 123.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2891, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2891, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2891, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000393/0.2895, allocations: 371 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2895, allocations: 12.03 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.13e-05/0.2896, allocations: 110 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.2897, allocations: 80.22 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.29, allocations: 271.5 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.2901, allocations: 150.9 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.2902, allocations: 150.9 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.609e-05/0.2902, allocations: 109.1 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.2903, allocations: 79.22 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.2903, allocations: 150.6 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.754e-05/0.2904, allocations: 154.6 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.2904, allocations: 154.6 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.2908, allocations: 461.9 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.715e-05/0.2908, allocations: 169.1 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.2909, allocations: 84.08 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.2909, allocations: 79.22 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.291, allocations: 109.8 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.291, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.226e-05/0.2911, allocations: 37.64 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.2911, allocations: 126.7 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2913, allocations: 135 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2913, allocations: 29.7 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.2913, allocations: 88.14 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.2913, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2914, allocations: 17.7 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.2915, allocations: 322.8 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.2915, allocations: 3.938 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.2915, allocations: 8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.2916, allocations: 12.84 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2916, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001157/0.2917, allocations: 53.59 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2917, allocations: 4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.2917, allocations: 3.938 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2917, allocations: 4.031 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.2918, allocations: 4.062 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2918, allocations: 7.984 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.2918, allocations: 3.938 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2918, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.804e-05/0.2919, allocations: 193.6 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.292, allocations: 108.9 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.292, allocations: 108.9 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.138e-05/0.2921, allocations: 192.2 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.268e-05/0.2921, allocations: 176.3 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-05/0.2922, allocations: 188.2 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.2924, allocations: 405.2 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/0.2925, allocations: 108.9 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.2925, allocations: 108.9 kB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.68e-05/0.2926, allocations: 180.3 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.2927, allocations: 184.2 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.166e-05/0.2928, allocations: 180.3 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.074e-05/0.2928, allocations: 180.3 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.293, allocations: 319.6 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.2931, allocations: 190 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.2931, allocations: 176.3 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.2932, allocations: 105 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.2933, allocations: 180.2 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.2933, allocations: 113 kB / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.2934, allocations: 101.3 kB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2934, allocations: 0 / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002896/0.2937, allocations: 31.88 kB / 1.097 GB, free: 7.535 MB / 0.8575 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 (0): * Single equations (assignments): 0 * 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.0005322/0.2942, allocations: 0.867 MB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.365e-05/0.2943, allocations: 37.7 kB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2943, allocations: 0 / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.2944, allocations: 0 / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.2948, allocations: 467.6 kB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2961, allocations: 1.459 MB / 1.1 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.2963, allocations: 0.6846 MB / 1.101 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.2964, allocations: 256 / 1.101 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.2964, allocations: 19.44 kB / 1.101 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2964, allocations: 3.938 kB / 1.101 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.3146, allocations: 2.721 MB / 1.103 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.962, allocations: 11.62 kB / 1.103 GB, free: 1.289 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches