Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 212.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.795/2.795, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 68.12 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2946, allocations: 170 MB / 1.283 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002929/0.2975, allocations: 1.483 MB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2989, allocations: 0.8547 MB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.299, allocations: 3.938 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.2992, allocations: 39.83 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.175e-05/0.2992, allocations: 23.8 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.2997, allocations: 194.7 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.2998, allocations: 47.73 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.2999, allocations: 4 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.2999, allocations: 19.94 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.3, allocations: 15.86 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3, allocations: 8 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.3004, allocations: 171.7 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.3004, allocations: 7.984 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.3004, allocations: 15.88 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3007, allocations: 123.1 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3007, allocations: 7.938 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3007, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3007, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 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.0003694/0.301, allocations: 297.9 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3011, allocations: 8.031 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.3011, allocations: 110 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.3012, allocations: 80.22 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3015, allocations: 205.7 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.3015, allocations: 154.9 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.3016, allocations: 154.9 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.321e-05/0.3017, allocations: 109.1 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/0.3017, allocations: 75.28 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.3018, allocations: 154.6 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/0.3019, allocations: 150.6 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.83e-05/0.302, allocations: 154.6 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.3024, allocations: 441 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.3025, allocations: 173.1 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.3025, allocations: 84.19 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.3025, allocations: 75.28 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.3026, allocations: 109.8 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3026, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.519e-05/0.3027, allocations: 37.64 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.3028, allocations: 130.6 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.303, allocations: 140.4 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.303, allocations: 25.7 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.303, allocations: 96.14 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-06/0.303, allocations: 0 / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.3031, allocations: 17.7 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3033, allocations: 314.8 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.3033, allocations: 4 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.3033, allocations: 8 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.3033, allocations: 12.84 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3033, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.3035, allocations: 53.53 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3035, allocations: 7.938 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.3035, allocations: 4 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3035, allocations: 12.08 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3035, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3035, allocations: 3.938 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.3035, allocations: 4 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3035, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 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 0.0001146/0.3037, allocations: 181.1 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.3037, allocations: 116.9 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.35e-05/0.3038, allocations: 116.7 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-05/0.3039, allocations: 176.3 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.417e-05/0.3039, allocations: 176.3 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.289e-05/0.304, allocations: 188.2 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3043, allocations: 384.3 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.538e-05/0.3044, allocations: 112.8 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.3044, allocations: 101 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.833e-05/0.3045, allocations: 180.3 kB / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.588e-05/0.3046, allocations: 188.2 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.699e-05/0.3046, allocations: 176.3 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.183e-05/0.3047, allocations: 184.2 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.3049, allocations: 315.7 kB / 1.291 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.3049, allocations: 112.9 kB / 1.291 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.305, allocations: 180.3 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.3051, allocations: 112.9 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/0.3052, allocations: 176.3 kB / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.3052, allocations: 104.9 kB / 1.292 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.505e-05/0.3053, allocations: 103.3 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3053, allocations: 0 / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002955/0.3056, allocations: 35.86 kB / 1.292 GB, free: 2.242 MB / 0.9825 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.0006127/0.3062, allocations: 0.8476 MB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.3063, allocations: 37.7 kB / 1.293 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3063, allocations: 4.062 kB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.3063, allocations: 3.938 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.3068, allocations: 469.3 kB / 1.293 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3081, allocations: 1.472 MB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.483e-05/0.3082, allocations: 63.34 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.3082, allocations: 4.281 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.3083, allocations: 19.42 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.3083, allocations: 0 / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3377, allocations: 3.29 MB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.23, allocations: 11.34 kB / 1.298 GB, free: 12.06 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_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_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.829462422057986]