Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002133/0.002133, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001716/0.001716, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.131/3.131, allocations: 0.49 GB / 0.7951 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_12_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.001987/0.001987, allocations: 73.5 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002694/0.337, allocations: 1.513 MB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3384, allocations: 0.958 MB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3385, allocations: 3.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.3389, allocations: 43.83 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.182e-05/0.339, allocations: 23.78 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.3395, allocations: 186.8 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.3396, allocations: 43.73 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.3396, allocations: 8 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.3397, allocations: 27.86 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.3397, allocations: 19.86 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3397, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.3401, allocations: 175.8 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.3402, allocations: 7.938 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.3402, allocations: 15.88 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.3404, allocations: 127.8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3404, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3404, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3404, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 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.0003669/0.3408, allocations: 297.9 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3408, allocations: 8.031 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.091e-05/0.3409, allocations: 106 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.341, allocations: 84.17 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.3412, allocations: 207.2 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.3413, allocations: 154.9 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.3413, allocations: 150.9 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.212e-05/0.3414, allocations: 117 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.3414, allocations: 79.28 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.3415, allocations: 150.6 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.647e-05/0.3416, allocations: 150.6 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.3416, allocations: 162.5 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.342, allocations: 436.9 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.3421, allocations: 165.1 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.3421, allocations: 80.14 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.3421, allocations: 79.28 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.3422, allocations: 113.8 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3422, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.388e-05/0.3423, allocations: 41.52 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.3424, allocations: 130.7 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.3425, allocations: 135 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3425, allocations: 25.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.3426, allocations: 96.14 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.3426, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.3426, allocations: 17.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3427, allocations: 314.8 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.3428, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.57e-05/0.3428, allocations: 8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.3428, allocations: 12.84 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3428, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001194/0.3429, allocations: 61.59 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.343, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.343, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.343, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.343, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.343, allocations: 3.984 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.343, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.343, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 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.0001119/0.3431, allocations: 189.1 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.3432, allocations: 120.8 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.3433, allocations: 104.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-05/0.3433, allocations: 184.2 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.259e-05/0.3434, allocations: 180.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.681e-05/0.3435, allocations: 180.2 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.3438, allocations: 392.2 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.357e-05/0.3438, allocations: 104.9 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.3439, allocations: 105 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.445e-05/0.3439, allocations: 184.2 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.19e-05/0.344, allocations: 184.3 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.97e-05/0.3441, allocations: 180.2 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.808e-05/0.3442, allocations: 180.3 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.3443, allocations: 315.7 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.3444, allocations: 108.9 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.3445, allocations: 184.2 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3446, allocations: 109 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.3447, allocations: 180.2 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.3447, allocations: 108.9 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.786e-05/0.3448, allocations: 101.1 kB / 1.335 GB, free: 7.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3448, allocations: 0 / 1.335 GB, free: 7.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002846/0.3451, allocations: 31.88 kB / 1.336 GB, free: 7.695 MB / 1.029 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.0005943/0.3457, allocations: 0.8632 MB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.3458, allocations: 37.64 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3458, allocations: 0 / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3458, allocations: 0 / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.3463, allocations: 469.1 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3479, allocations: 1.455 MB / 1.338 GB, free: 4.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3483, allocations: 0.6846 MB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.3483, allocations: 0 / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.3483, allocations: 23.47 kB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.3483, allocations: 0 / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3779, allocations: 2.834 MB / 1.342 GB, free: 1.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.78, allocations: 7.078 kB / 1.342 GB, free: 1.344 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.364048722000007]