Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_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.009097/0.009097, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.002006/0.002006, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.482/2.482, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2833, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002618/0.286, allocations: 1.476 MB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2873, allocations: 0.9111 MB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.2874, allocations: 4 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.2877, allocations: 39.75 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.2877, allocations: 27.84 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.2883, allocations: 190.9 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.2884, allocations: 47.67 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.2884, allocations: 7.984 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.643e-05/0.2885, allocations: 31.86 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.296e-05/0.2886, allocations: 11.88 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2886, allocations: 4 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.2889, allocations: 167.8 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.289, allocations: 15.92 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.289, allocations: 11.88 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.2892, allocations: 127.8 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.2892, allocations: 3.984 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2892, allocations: 0 / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2892, allocations: 0 / 1.169 GB, free: 4.203 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003533/0.2896, allocations: 371.1 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2897, allocations: 11.97 kB / 1.17 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.2897, allocations: 106 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.2898, allocations: 88.17 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.29, allocations: 263.5 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.2901, allocations: 150.9 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.2901, allocations: 162.9 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.323e-05/0.2902, allocations: 105.1 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2902, allocations: 75.28 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.2903, allocations: 150.6 kB / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/0.2903, allocations: 150.6 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.2904, allocations: 154.6 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.2906, allocations: 465.9 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.922e-05/0.2907, allocations: 165.1 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.2908, allocations: 84.14 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.2908, allocations: 75.28 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.2908, allocations: 117.8 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2908, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.49e-05/0.2909, allocations: 41.58 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.291, allocations: 126.7 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2911, allocations: 131.4 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2911, allocations: 25.7 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.2912, allocations: 96.09 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.2912, allocations: 0 / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.2912, allocations: 21.7 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2913, allocations: 314.8 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.2914, allocations: 4 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.2914, allocations: 4 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/0.2914, allocations: 16.84 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2914, allocations: 0 / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001172/0.2916, allocations: 45.58 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2916, allocations: 12.06 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.2916, allocations: 0 / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2916, allocations: 3.938 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.2916, allocations: 3.984 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2916, allocations: 0 / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.2917, allocations: 15.89 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2917, allocations: 3.938 kB / 1.173 GB, free: 484 kB / 0.92 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.83e-05/0.2918, allocations: 181.1 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.2918, allocations: 112.9 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.2919, allocations: 112.8 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.945e-05/0.292, allocations: 188.2 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-05/0.292, allocations: 180.2 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.293e-05/0.2921, allocations: 176.3 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.2923, allocations: 409.2 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/0.2924, allocations: 116.9 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.2924, allocations: 109 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.504e-05/0.2925, allocations: 180.2 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/0.2925, allocations: 180.2 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.717e-05/0.2926, allocations: 176.3 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.038e-05/0.2927, allocations: 192.2 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.2928, allocations: 311.7 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.2929, allocations: 186 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.2929, allocations: 184.2 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.293, allocations: 105 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.2931, allocations: 184.3 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.2931, allocations: 108.9 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.468e-05/0.2932, allocations: 101.1 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2932, allocations: 0 / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002854/0.2935, allocations: 35.86 kB / 1.176 GB, free: 12.79 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 (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.0005286/0.294, allocations: 0.8593 MB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.892e-05/0.2941, allocations: 37.64 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2941, allocations: 0 / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.2942, allocations: 4 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.2946, allocations: 467.7 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.2957, allocations: 1.455 MB / 1.179 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2959, allocations: 0.6846 MB / 1.179 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.2959, allocations: 0 / 1.179 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.296, allocations: 15.44 kB / 1.179 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.296, allocations: 7.969 kB / 1.179 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.3143, allocations: 2.718 MB / 1.182 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.565, allocations: 11.77 kB / 1.182 GB, free: 6.562 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches