Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001602/0.001602, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001933/0.001933, allocations: 216.9 kB / 22.25 MB, free: 5.082 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 8.023 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.166/3.166, allocations: 0.505 GB / 0.8101 GB, free: 22 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.002008/0.002008, allocations: 62.75 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.335, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00586/0.3408, allocations: 4.214 MB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003886/0.3447, allocations: 2.472 MB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.3452, allocations: 11.94 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.347, allocations: 0.5688 MB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007205/0.3477, allocations: 242.1 kB / 1.36 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.3481, allocations: 135.8 kB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.3492, allocations: 0.8097 MB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.3496, allocations: 235 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005513/0.3502, allocations: 310.9 kB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.3507, allocations: 330.6 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3508, allocations: 76 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.351, allocations: 72 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.3512, allocations: 167.5 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.3516, allocations: 386.2 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3527, allocations: 0.9952 MB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3527, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3527, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.002e-05/0.3527, allocations: 0 / 1.364 GB, free: 13.39 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001741/0.3545, allocations: 0.8899 MB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3545, allocations: 12.03 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.3546, allocations: 90.7 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.3548, allocations: 76.47 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.3555, allocations: 408.1 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.3555, allocations: 37.38 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.3556, allocations: 44.38 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.3564, allocations: 434.6 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3564, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.3564, allocations: 20 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.3565, allocations: 12 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.3572, allocations: 371.8 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.3595, allocations: 1.476 MB / 1.367 GB, free: 9.414 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.36, allocations: 314.7 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.3605, allocations: 287.6 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.3605, allocations: 7.938 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3606, allocations: 34.56 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of pre-optimization done (n=42): time 2.715e-06/0.3606, allocations: 0 / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of matching and sorting (n=42): time 0.001017/0.3616, allocations: 0.4973 MB / 1.368 GB, free: 8.258 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.3616, allocations: 55.41 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.3623, allocations: 489.9 kB / 1.369 GB, free: 7.711 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3623, allocations: 33.7 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.3625, allocations: 276.7 kB / 1.369 GB, free: 7.395 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.3627, allocations: 150.7 kB / 1.369 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3628, allocations: 62.08 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.363, allocations: 358.8 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.3632, allocations: 128.7 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.3635, allocations: 125.2 kB / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.364, allocations: 302.1 kB / 1.37 GB, free: 6.273 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.364, allocations: 0 / 1.37 GB, free: 6.273 MB / 1.061 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007204/0.3647, allocations: 404.7 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3647, allocations: 4 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3647, allocations: 0 / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3648, allocations: 4 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.3653, allocations: 127.8 kB / 1.371 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3653, allocations: 3.984 kB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.3656, allocations: 31.77 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.3656, allocations: 12 kB / 1.371 GB, free: 5.691 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 (46): * Single equations (assignments): 46 * 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.0002466/0.3658, allocations: 197.8 kB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.3659, allocations: 55.61 kB / 1.371 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.3661, allocations: 61.09 kB / 1.371 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3661, allocations: 4 kB / 1.371 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3661, allocations: 3.938 kB / 1.371 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3661, allocations: 7.969 kB / 1.371 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.3668, allocations: 0.5353 MB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.3668, allocations: 3.938 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.3673, allocations: 135.8 kB / 1.372 GB, free: 4.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.3673, allocations: 4 kB / 1.372 GB, free: 4.637 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.3674, allocations: 12 kB / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3674, allocations: 0 / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3674, allocations: 0 / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3684, allocations: 0.6484 MB / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3685, allocations: 71.47 kB / 1.373 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.3686, allocations: 4 kB / 1.373 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3688, allocations: 16 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.3689, allocations: 31.88 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.3689, allocations: 8 kB / 1.373 GB, free: 3.832 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004607/0.3694, allocations: 347.1 kB / 1.373 GB, free: 3.496 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3694, allocations: 7.938 kB / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004375/0.3698, allocations: 139.7 kB / 1.373 GB, free: 3.352 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001439/0.3713, allocations: 1.212 MB / 1.374 GB, free: 2.113 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006263/0.3719, allocations: 303.6 kB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3719, allocations: 0 / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.3722, allocations: 167.8 kB / 1.375 GB, free: 1.652 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.3729, allocations: 121.8 kB / 1.375 GB, free: 1.535 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/0.38, allocations: 4.858 MB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.3805, allocations: 0.8741 MB / 1.381 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.3807, allocations: 48.38 kB / 1.381 GB, free: 11.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.3809, allocations: 191.3 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of SimCode: time 9.02e-07/0.3809, allocations: 4 kB / 1.381 GB, free: 11.44 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/0.4252, allocations: 11.78 MB / 1.392 GB, free: 15.93 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.05, allocations: 8 kB / 1.392 GB, free: 15.92 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.7358433350455]