Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001292/0.001292, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001524/0.001524, allocations: 215.1 kB / 22.25 MB, free: 5.242 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.084/3.084, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.002232/0.002232, allocations: 71.97 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3276, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00486/0.3325, allocations: 2.858 MB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003375/0.3359, allocations: 1.962 MB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.3362, allocations: 8 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.338, allocations: 477.8 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.3385, allocations: 142.9 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.3386, allocations: 59.92 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006192/0.3392, allocations: 441.9 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.3395, allocations: 95.84 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.3398, allocations: 171.3 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.3401, allocations: 155.2 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.3401, allocations: 32 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.3402, allocations: 40 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.3404, allocations: 107.5 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3406, allocations: 167.2 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.3412, allocations: 0.5525 MB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3412, allocations: 0 / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3412, allocations: 0 / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.3412, allocations: 0 / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001218/0.3424, allocations: 0.6346 MB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3425, allocations: 12.03 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.316e-05/0.3425, allocations: 50.73 kB / 1.371 GB, free: 6.066 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.3426, allocations: 48.66 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.3433, allocations: 324.5 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3433, allocations: 20.75 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.3433, allocations: 20.38 kB / 1.372 GB, free: 5.641 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.3438, allocations: 207.4 kB / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3438, allocations: 0 / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.3438, allocations: 8 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3438, allocations: 8 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.3442, allocations: 161.6 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.3455, allocations: 0.6862 MB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.3458, allocations: 140.6 kB / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.346, allocations: 104.8 kB / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3461, allocations: 0 / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3461, allocations: 38.56 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.3461, allocations: 0 / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0006507/0.3467, allocations: 257.5 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3468, allocations: 51.41 kB / 1.373 GB, free: 3.906 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.3473, allocations: 421.6 kB / 1.374 GB, free: 3.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3474, allocations: 25.7 kB / 1.374 GB, free: 3.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3475, allocations: 212.4 kB / 1.374 GB, free: 3.242 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.146e-05/0.3476, allocations: 63.44 kB / 1.374 GB, free: 3.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.3477, allocations: 33.7 kB / 1.374 GB, free: 3.141 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3478, allocations: 346.8 kB / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.348, allocations: 59.91 kB / 1.374 GB, free: 2.734 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.3481, allocations: 59.97 kB / 1.374 GB, free: 2.676 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.3484, allocations: 131 kB / 1.374 GB, free: 2.547 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3484, allocations: 0 / 1.374 GB, free: 2.547 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004169/0.3488, allocations: 209.4 kB / 1.375 GB, free: 2.336 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3488, allocations: 4 kB / 1.375 GB, free: 2.332 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3489, allocations: 3.938 kB / 1.375 GB, free: 2.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3489, allocations: 4 kB / 1.375 GB, free: 2.324 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.3491, allocations: 55.91 kB / 1.375 GB, free: 2.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3491, allocations: 0 / 1.375 GB, free: 2.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.3493, allocations: 23.88 kB / 1.375 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3493, allocations: 4 kB / 1.375 GB, free: 2.242 MB / 1.061 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 (20): * Single equations (assignments): 20 * 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 0.0001705/0.3495, allocations: 162.9 kB / 1.375 GB, free: 2.074 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.3495, allocations: 35.77 kB / 1.375 GB, free: 2.039 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.3496, allocations: 47.41 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3496, allocations: 4 kB / 1.375 GB, free: 1.988 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3496, allocations: 4 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3496, allocations: 0 / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.3501, allocations: 316.5 kB / 1.375 GB, free: 1.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3501, allocations: 0 / 1.375 GB, free: 1.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.3503, allocations: 51.97 kB / 1.375 GB, free: 1.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3503, allocations: 11.92 kB / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3503, allocations: 3.938 kB / 1.375 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3503, allocations: 0 / 1.375 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3503, allocations: 0 / 1.375 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.351, allocations: 383.7 kB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3511, allocations: 51.67 kB / 1.376 GB, free: 1.129 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.3512, allocations: 7.938 kB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3513, allocations: 11.98 kB / 1.376 GB, free: 1.109 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3514, allocations: 7.984 kB / 1.376 GB, free: 1.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3514, allocations: 15.92 kB / 1.376 GB, free: 1.086 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003567/0.3517, allocations: 295.2 kB / 1.376 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3517, allocations: 0 / 1.376 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003099/0.352, allocations: 71.89 kB / 1.376 GB, free: 0.7266 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0009692/0.353, allocations: 0.9206 MB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.3534, allocations: 139.9 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3534, allocations: 0 / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3535, allocations: 71.91 kB / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.3541, allocations: 101.7 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.359, allocations: 3.48 MB / 1.381 GB, free: 11.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.3592, allocations: 190.5 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.3593, allocations: 38.95 kB / 1.381 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.3595, allocations: 119.4 kB / 1.381 GB, free: 11.55 MB / 1.076 GB Notification: Performance of SimCode: time 9.32e-07/0.3595, allocations: 0 / 1.381 GB, free: 11.55 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.3999, allocations: 8.951 MB / 1.39 GB, free: 2.879 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.66, allocations: 3.938 kB / 1.39 GB, free: 2.875 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.077879172749817]