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.001298/0.001298, allocations: 119.5 kB / 17.17 MB, free: 5.977 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.00142/0.00142, allocations: 205.5 kB / 20.13 MB, free: 3.039 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.39/1.39, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.653/2.653, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.001939/0.001939, allocations: 67.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8519/0.8539, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002794/0.8567, allocations: 1.506 MB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.8582, allocations: 0.9536 MB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.8583, allocations: 2.312 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.8585, allocations: 54.88 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.8586, allocations: 16.89 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.8591, allocations: 192.3 kB / 1.282 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.8592, allocations: 52.27 kB / 1.282 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.8593, allocations: 1.906 kB / 1.282 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/0.8594, allocations: 20.64 kB / 1.282 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/0.8594, allocations: 20.25 kB / 1.282 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.8594, allocations: 1.031 kB / 1.282 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.8599, allocations: 174.2 kB / 1.282 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.8599, allocations: 10.38 kB / 1.282 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.86, allocations: 19.8 kB / 1.282 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.8603, allocations: 134.6 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8603, allocations: 0.5938 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.205e-06/0.8603, allocations: 0.6094 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.8603, allocations: 0.5 kB / 1.282 GB, free: 9.777 MB / 0.9981 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.0004501/0.8607, allocations: 371.1 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.8608, allocations: 9.406 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.98e-05/0.8608, allocations: 76 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.8609, allocations: 110.6 kB / 1.283 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/0.861, allocations: 79.06 kB / 1.283 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.8612, allocations: 268.7 kB / 1.283 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.8613, allocations: 151.9 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.125e-05/0.8614, allocations: 151.5 kB / 1.283 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.252e-05/0.8614, allocations: 110.1 kB / 1.283 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.8615, allocations: 79.94 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.8615, allocations: 151.7 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-05/0.8616, allocations: 150.6 kB / 1.284 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.076e-05/0.8617, allocations: 152.4 kB / 1.284 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.862, allocations: 471.6 kB / 1.284 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.8621, allocations: 175.4 kB / 1.284 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.8622, allocations: 80.14 kB / 1.284 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.8622, allocations: 79.22 kB / 1.285 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.8623, allocations: 108.1 kB / 1.285 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 4.218e-06/0.8623, allocations: 4 kB / 1.285 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.226e-05/0.8623, allocations: 32.83 kB / 1.285 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.8624, allocations: 128.9 kB / 1.285 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.8626, allocations: 134.6 kB / 1.285 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.8626, allocations: 29.64 kB / 1.285 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.8626, allocations: 92.7 kB / 1.285 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.8626, allocations: 1.375 kB / 1.285 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.8627, allocations: 14.91 kB / 1.285 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8628, allocations: 322.6 kB / 1.285 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.8628, allocations: 6.781 kB / 1.285 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.8629, allocations: 3.047 kB / 1.285 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.8629, allocations: 14.67 kB / 1.285 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8629, allocations: 0 / 1.285 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001235/0.863, allocations: 52.67 kB / 1.285 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.863, allocations: 5.375 kB / 1.285 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.8631, allocations: 2.078 kB / 1.285 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8631, allocations: 1.406 kB / 1.285 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-06/0.8631, allocations: 8.703 kB / 1.285 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.8631, allocations: 4 kB / 1.285 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.8631, allocations: 5.094 kB / 1.285 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.8631, allocations: 2.125 kB / 1.285 GB, free: 6.137 MB / 0.9981 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.0001055/0.8632, allocations: 183.2 kB / 1.286 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.8633, allocations: 116.6 kB / 1.286 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.347e-05/0.8633, allocations: 109.4 kB / 1.286 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.949e-05/0.8634, allocations: 189.8 kB / 1.286 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.245e-05/0.8635, allocations: 176.9 kB / 1.286 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.398e-05/0.8636, allocations: 182.5 kB / 1.286 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.8638, allocations: 417 kB / 1.287 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-05/0.8639, allocations: 102.9 kB / 1.287 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.8639, allocations: 110.7 kB / 1.287 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.407e-05/0.864, allocations: 182.1 kB / 1.287 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/0.8641, allocations: 186.6 kB / 1.287 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-05/0.8642, allocations: 182.4 kB / 1.288 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.421e-05/0.8642, allocations: 180.2 kB / 1.288 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.8644, allocations: 311 kB / 1.288 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.8645, allocations: 194 kB / 1.288 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.8646, allocations: 178.9 kB / 1.288 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.8647, allocations: 105.6 kB / 1.288 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.8647, allocations: 178.1 kB / 1.289 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.8648, allocations: 106.9 kB / 1.289 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.012e-05/0.8649, allocations: 108 kB / 1.289 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8649, allocations: 0 / 1.289 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003501/0.8652, allocations: 36.7 kB / 1.289 GB, free: 2.551 MB / 0.9981 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.0006378/0.8659, allocations: 0.8552 MB / 1.29 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.866, allocations: 36.23 kB / 1.29 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.866, allocations: 1.281 kB / 1.29 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.866, allocations: 0 / 1.29 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.8664, allocations: 466.8 kB / 1.29 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.8677, allocations: 1.465 MB / 1.292 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.868, allocations: 0.6828 MB / 1.292 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.8681, allocations: 5.75 kB / 1.292 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.8681, allocations: 15.75 kB / 1.292 GB, free: 15.16 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.8681, allocations: 0 / 1.292 GB, free: 15.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.8868, allocations: 2.81 MB / 1.295 GB, free: 14.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.935, allocations: 6.562 kB / 1.295 GB, free: 14.72 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.694926263997331]