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.001713/0.001713, allocations: 113 kB / 19.73 MB, free: 2.242 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.002047/0.002047, allocations: 213.6 kB / 23.04 MB, free: 5.074 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.169/3.169, allocations: 0.5003 GB / 0.8062 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",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="cs",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.001934/0.001934, allocations: 65.12 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3413, allocations: 179 MB / 1.345 GB, free: 424 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004576/0.3459, allocations: 3.086 MB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.349, allocations: 2.203 MB / 1.351 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.3492, allocations: 7.938 kB / 1.351 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.3507, allocations: 0.5328 MB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.351, allocations: 142.8 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.3512, allocations: 59.88 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.3516, allocations: 434 kB / 1.352 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.3519, allocations: 103.8 kB / 1.352 GB, free: 9.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.3522, allocations: 175.3 kB / 1.352 GB, free: 9.652 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.3524, allocations: 187.1 kB / 1.352 GB, free: 9.469 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.3524, allocations: 32 kB / 1.352 GB, free: 9.438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.23e-05/0.3525, allocations: 36 kB / 1.352 GB, free: 9.402 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3526, allocations: 95.67 kB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.3528, allocations: 214.9 kB / 1.352 GB, free: 9.098 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.3534, allocations: 0.5447 MB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3534, allocations: 0 / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3534, allocations: 0 / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.3534, allocations: 0 / 1.353 GB, free: 8.551 MB / 1.045 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.001053/0.3544, allocations: 0.6446 MB / 1.354 GB, free: 7.875 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3545, allocations: 12.03 kB / 1.354 GB, free: 7.863 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.998e-05/0.3545, allocations: 4.625 kB / 1.354 GB, free: 7.859 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.3546, allocations: 54.73 kB / 1.354 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.3546, allocations: 44.66 kB / 1.354 GB, free: 7.754 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.3552, allocations: 320.5 kB / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3552, allocations: 16.81 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.3552, allocations: 20.38 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.3556, allocations: 207.2 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3557, allocations: 0 / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.3557, allocations: 4 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3557, allocations: 11.94 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.3561, allocations: 165.7 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.3573, allocations: 0.8277 MB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.3576, allocations: 146.6 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.3578, allocations: 99 kB / 1.356 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.3578, allocations: 4 kB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3578, allocations: 34.5 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.3578, allocations: 0 / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0006197/0.3585, allocations: 261.5 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3585, allocations: 55.41 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.359, allocations: 417.7 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.359, allocations: 25.7 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3591, allocations: 204.5 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.3592, allocations: 75.34 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.3593, allocations: 29.72 kB / 1.357 GB, free: 4.715 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3594, allocations: 350.8 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3596, allocations: 55.97 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3597, allocations: 61.47 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.36, allocations: 141.6 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.36, allocations: 0 / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003811/0.3604, allocations: 207.6 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3604, allocations: 11.94 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3604, allocations: 0 / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3604, allocations: 0 / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.3607, allocations: 59.89 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3607, allocations: 4 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.3608, allocations: 15.89 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3608, allocations: 4 kB / 1.357 GB, free: 3.809 MB / 1.045 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.0001629/0.361, allocations: 165.8 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.361, allocations: 39.7 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.947e-05/0.3611, allocations: 43.52 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3611, allocations: 4 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3611, allocations: 0 / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3611, allocations: 3.938 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.3615, allocations: 344.4 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3615, allocations: 0 / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.3618, allocations: 59.89 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3618, allocations: 3.938 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3618, allocations: 8 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3618, allocations: 0 / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3618, allocations: 4 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.3624, allocations: 368.5 kB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.3625, allocations: 51.66 kB / 1.358 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.3626, allocations: 12 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3627, allocations: 11.98 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.3628, allocations: 11.97 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3628, allocations: 4 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003316/0.3631, allocations: 299.2 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3631, allocations: 0 / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003023/0.3634, allocations: 71.89 kB / 1.359 GB, free: 2.262 MB / 1.045 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.0009366/0.3643, allocations: 0.9246 MB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.3647, allocations: 131.9 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3647, allocations: 0 / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.3649, allocations: 79.91 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.3654, allocations: 106 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.3703, allocations: 3.484 MB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.3707, allocations: 0.7988 MB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.3709, allocations: 34.95 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.371, allocations: 119.4 kB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of SimCode: time 1.193e-06/0.371, allocations: 0 / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.403, allocations: 8.196 MB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.63, allocations: 11.69 kB / 1.372 GB, free: 4.512 MB / 1.061 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.391325192002114]