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.001646/0.001646, allocations: 110.7 kB / 17.6 MB, free: 4.68 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.001785/0.001785, allocations: 185.9 kB / 20.78 MB, free: 1.516 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.375/1.375, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.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.64/2.64, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 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.001861/0.001861, allocations: 79.88 kB / 1.107 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9028/0.9046, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004085/0.9087, allocations: 3.088 MB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.9112, allocations: 2.16 MB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.9114, allocations: 5.406 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.9127, allocations: 0.499 MB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.913, allocations: 151.9 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.9131, allocations: 60.22 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.9135, allocations: 452.6 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.9137, allocations: 102.5 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.9139, allocations: 160 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.9141, allocations: 183.8 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.9142, allocations: 34.12 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/0.9143, allocations: 34.56 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.9144, allocations: 94.39 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.9145, allocations: 222.4 kB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.9151, allocations: 0.5548 MB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9151, allocations: 0.9688 kB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9151, allocations: 0 / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.9151, allocations: 0 / 1.279 GB, free: 2.754 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009095/0.916, allocations: 0.7085 MB / 1.28 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.9161, allocations: 10.31 kB / 1.28 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.9161, allocations: 58.69 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.9162, allocations: 46.03 kB / 1.28 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.9167, allocations: 377 kB / 1.28 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.9167, allocations: 17.69 kB / 1.28 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.9167, allocations: 21.69 kB / 1.28 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.9171, allocations: 203.8 kB / 1.281 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.9171, allocations: 5.406 kB / 1.281 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.9171, allocations: 5.844 kB / 1.281 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.9171, allocations: 5.375 kB / 1.281 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.9176, allocations: 164.9 kB / 1.281 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.9187, allocations: 0.8728 MB / 1.282 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.919, allocations: 142.2 kB / 1.282 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.9192, allocations: 102.9 kB / 1.282 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.9192, allocations: 9.703 kB / 1.282 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.9192, allocations: 36.92 kB / 1.282 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.9192, allocations: 3.938 kB / 1.282 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0005682/0.9198, allocations: 259.3 kB / 1.282 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.9198, allocations: 58.38 kB / 1.282 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.9203, allocations: 414.5 kB / 1.283 GB, free: 460 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.9203, allocations: 29.7 kB / 1.283 GB, free: 424 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.9204, allocations: 212 kB / 1.283 GB, free: 240 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.9204, allocations: 68.58 kB / 1.283 GB, free: 184 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.9205, allocations: 32.09 kB / 1.283 GB, free: 160 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.9206, allocations: 345.8 kB / 1.283 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.9208, allocations: 57.91 kB / 1.283 GB, free: 15.81 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.9209, allocations: 54.81 kB / 1.283 GB, free: 15.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.9212, allocations: 148.6 kB / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.9212, allocations: 0 / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003965/0.9216, allocations: 208 kB / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.9216, allocations: 7.281 kB / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9216, allocations: 4.547 kB / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.9216, allocations: 0 / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.9219, allocations: 56.33 kB / 1.284 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.9219, allocations: 0 / 1.284 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.922, allocations: 24.03 kB / 1.284 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.922, allocations: 3.875 kB / 1.284 GB, free: 15.6 MB / 1.014 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.0001743/0.9222, allocations: 160.4 kB / 1.284 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.9223, allocations: 36.64 kB / 1.284 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.141e-05/0.9224, allocations: 45.5 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.9224, allocations: 1.906 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9224, allocations: 1.062 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9224, allocations: 1.172 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.9229, allocations: 378.7 kB / 1.284 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.9229, allocations: 1.312 kB / 1.284 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.9231, allocations: 58.55 kB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.9231, allocations: 2.438 kB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.9231, allocations: 3.938 kB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.9231, allocations: 1.781 kB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9231, allocations: 0.75 kB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.9237, allocations: 378.5 kB / 1.285 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.9239, allocations: 119.7 kB / 1.285 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.9239, allocations: 9.281 kB / 1.285 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.924, allocations: 12.16 kB / 1.285 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.9241, allocations: 12.19 kB / 1.285 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.9241, allocations: 10.41 kB / 1.285 GB, free: 14.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003441/0.9245, allocations: 297.9 kB / 1.285 GB, free: 14.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.9245, allocations: 5.125 kB / 1.285 GB, free: 14.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002997/0.9248, allocations: 71.02 kB / 1.285 GB, free: 14.59 MB / 1.014 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.0009537/0.9257, allocations: 0.936 MB / 1.286 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.926, allocations: 134.4 kB / 1.286 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.926, allocations: 0 / 1.286 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.9262, allocations: 77.11 kB / 1.286 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.9268, allocations: 90.53 kB / 1.286 GB, free: 13.72 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.9315, allocations: 3.506 MB / 1.29 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.9319, allocations: 0.7982 MB / 1.291 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.9321, allocations: 39.86 kB / 1.291 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.9323, allocations: 120.6 kB / 1.291 GB, free: 10.81 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.9323, allocations: 3.938 kB / 1.291 GB, free: 10.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.068/2, allocations: 7.964 MB / 1.299 GB, free: 9.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.679/10.68, allocations: 6.531 kB / 1.299 GB, free: 9.926 MB / 1.014 GB " [Timeout remaining time 289] (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 --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: 16.50775258798967]