Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.63/2.63, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.88 kB / 1.104 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.7887, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00482/0.7935, allocations: 3.066 MB / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003302/0.7968, allocations: 2.15 MB / 1.274 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.7971, allocations: 8 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.7987, allocations: 0.4899 MB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.799, allocations: 154.8 kB / 1.275 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.7992, allocations: 55.94 kB / 1.275 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.7997, allocations: 464.5 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.7999, allocations: 107.3 kB / 1.275 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.8001, allocations: 151.4 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.8004, allocations: 183.2 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.8004, allocations: 39.94 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.8005, allocations: 36 kB / 1.276 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.8006, allocations: 95.67 kB / 1.276 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.8008, allocations: 214.9 kB / 1.276 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.8014, allocations: 0.5524 MB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8014, allocations: 0 / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8014, allocations: 4 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.8014, allocations: 0 / 1.276 GB, free: 13.39 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001096/0.8025, allocations: 0.7043 MB / 1.277 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.8026, allocations: 12.03 kB / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.604e-05/0.8026, allocations: 58.72 kB / 1.277 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.559e-05/0.8027, allocations: 48.66 kB / 1.277 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.8033, allocations: 378.5 kB / 1.278 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.8033, allocations: 16.81 kB / 1.278 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.8034, allocations: 16.38 kB / 1.278 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.8038, allocations: 211.3 kB / 1.278 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.8038, allocations: 0 / 1.278 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.8038, allocations: 8 kB / 1.278 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.8038, allocations: 16 kB / 1.278 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.8042, allocations: 157.7 kB / 1.278 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.8054, allocations: 0.8664 MB / 1.279 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.8057, allocations: 146.5 kB / 1.279 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.8059, allocations: 105.1 kB / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.8059, allocations: 3.906 kB / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.806, allocations: 38.5 kB / 1.279 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.806, allocations: 0 / 1.279 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0005931/0.8066, allocations: 263.2 kB / 1.279 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.8066, allocations: 55.41 kB / 1.279 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.8071, allocations: 421.7 kB / 1.28 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.8071, allocations: 29.7 kB / 1.28 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.8073, allocations: 204.4 kB / 1.28 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.8073, allocations: 67.42 kB / 1.28 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.8074, allocations: 33.72 kB / 1.28 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8076, allocations: 350.8 kB / 1.28 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.8077, allocations: 55.95 kB / 1.28 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.8078, allocations: 55.97 kB / 1.281 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.8081, allocations: 142.2 kB / 1.281 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8081, allocations: 0 / 1.281 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003825/0.8085, allocations: 215.1 kB / 1.281 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8085, allocations: 7.984 kB / 1.281 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.8085, allocations: 3.938 kB / 1.281 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8085, allocations: 0 / 1.281 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.8088, allocations: 51.97 kB / 1.281 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8088, allocations: 0 / 1.281 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.8089, allocations: 23.88 kB / 1.281 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.8089, allocations: 4 kB / 1.281 GB, free: 8.426 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 (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.0001766/0.8091, allocations: 167.3 kB / 1.281 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.8092, allocations: 39.77 kB / 1.281 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-05/0.8093, allocations: 47.52 kB / 1.281 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8093, allocations: 0 / 1.281 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8093, allocations: 0 / 1.281 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.8093, allocations: 4 kB / 1.281 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.8097, allocations: 373.3 kB / 1.282 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8097, allocations: 3.984 kB / 1.282 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.81, allocations: 55.91 kB / 1.282 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.81, allocations: 0 / 1.282 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.81, allocations: 11.94 kB / 1.282 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.81, allocations: 0 / 1.282 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.81, allocations: 0 / 1.282 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/0.8106, allocations: 381.3 kB / 1.282 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.8107, allocations: 120.8 kB / 1.282 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.8107, allocations: 7.938 kB / 1.282 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.8109, allocations: 8 kB / 1.282 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.8109, allocations: 11.98 kB / 1.282 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.8109, allocations: 7.984 kB / 1.282 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003386/0.8113, allocations: 303.2 kB / 1.282 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8113, allocations: 0 / 1.282 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003053/0.8116, allocations: 71.89 kB / 1.282 GB, free: 6.754 MB / 0.9825 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.0009765/0.8126, allocations: 0.9312 MB / 1.283 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003669/0.8129, allocations: 141.6 kB / 1.284 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8129, allocations: 0 / 1.284 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.8131, allocations: 71.91 kB / 1.284 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.8136, allocations: 101.6 kB / 1.284 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.8183, allocations: 3.492 MB / 1.287 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.8188, allocations: 0.8028 MB / 1.288 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000135/0.8189, allocations: 34.95 kB / 1.288 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.8191, allocations: 119.4 kB / 1.288 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.8191, allocations: 0 / 1.288 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04965/0.8687, allocations: 8.038 MB / 1.296 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/9.305, allocations: 15.33 kB / 1.296 GB, free: 9.172 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.994296700228006]