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.0007877/0.0007877, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007943/0.0007943, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9052/0.9052, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.761/1.761, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.448e-05, allocations: 8.812 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002882/0.002907, allocations: 2.85 MB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.004937, allocations: 1.965 MB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.005125, allocations: 4 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.006237, allocations: 484.5 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.00645, allocations: 154.8 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 9.126e-05/0.006541, allocations: 59.94 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.006877, allocations: 461.5 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.007044, allocations: 103.8 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.007315, allocations: 251.4 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.007457, allocations: 127.6 kB / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.007488, allocations: 32 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.007521, allocations: 36 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.007609, allocations: 103.6 kB / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.966e-05/0.007708, allocations: 139.7 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.008087, allocations: 0.5334 MB / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.00809, allocations: 0 / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.773e-06/0.008092, allocations: 0 / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.008099, allocations: 4 kB / 1.007 GB, free: 6.145 MB / 0.9636 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.0007225/0.008821, allocations: 0.6313 MB / 1.007 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.008863, allocations: 12.75 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.00891, allocations: 54.72 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.008964, allocations: 52.59 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.009391, allocations: 319.8 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.009406, allocations: 12.88 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.009438, allocations: 24.38 kB / 1.008 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.009716, allocations: 208.6 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.009728, allocations: 192 / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.009746, allocations: 8.125 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.009754, allocations: 8 kB / 1.008 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.01, allocations: 161.9 kB / 1.008 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.01082, allocations: 0.6904 MB / 1.009 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.01104, allocations: 142.6 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.01117, allocations: 110.9 kB / 1.009 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.01119, allocations: 0 / 1.009 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.01121, allocations: 34.56 kB / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.01121, allocations: 0 / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.0003985/0.01161, allocations: 259 kB / 1.009 GB, free: 3.305 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.01164, allocations: 55.34 kB / 1.01 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.01196, allocations: 417.7 kB / 1.01 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.01197, allocations: 29.7 kB / 1.01 GB, free: 2.785 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.01207, allocations: 200.5 kB / 1.01 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.01212, allocations: 75.34 kB / 1.01 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.01216, allocations: 33.72 kB / 1.01 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.0124, allocations: 346.8 kB / 1.011 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.01248, allocations: 55.91 kB / 1.011 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.042e-05/0.01256, allocations: 63.97 kB / 1.011 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.01274, allocations: 131 kB / 1.011 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01274, allocations: 0 / 1.011 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002302/0.01297, allocations: 205.4 kB / 1.011 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01299, allocations: 5.719 kB / 1.011 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01299, allocations: 3.938 kB / 1.011 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01301, allocations: 4 kB / 1.011 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.01316, allocations: 63.89 kB / 1.011 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01317, allocations: 7.875 kB / 1.011 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.01325, allocations: 19.84 kB / 1.011 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.01326, allocations: 8 kB / 1.011 GB, free: 1.562 MB / 0.9636 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.0001156/0.01338, allocations: 161.8 kB / 1.011 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.01341, allocations: 35.77 kB / 1.011 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.01345, allocations: 39.53 kB / 1.011 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01346, allocations: 7.938 kB / 1.011 GB, free: 1.316 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.01347, allocations: 3.938 kB / 1.011 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01348, allocations: 7.984 kB / 1.011 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.01373, allocations: 296.6 kB / 1.012 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01373, allocations: 0 / 1.012 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.01388, allocations: 51.95 kB / 1.012 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01388, allocations: 4 kB / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01389, allocations: 4 kB / 1.012 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.0139, allocations: 0 / 1.012 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.0139, allocations: 3.938 kB / 1.012 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.01428, allocations: 383 kB / 1.012 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.01434, allocations: 51.72 kB / 1.012 GB, free: 480 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.01436, allocations: 8 kB / 1.012 GB, free: 472 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/0.01445, allocations: 4 kB / 1.012 GB, free: 468 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.01449, allocations: 19.91 kB / 1.012 GB, free: 448 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.01449, allocations: 8 kB / 1.012 GB, free: 440 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002148/0.01471, allocations: 295.2 kB / 1.012 GB, free: 148 kB / 0.9636 GB Notification: Performance of sort global known variables: time 2.1e-07/0.01471, allocations: 0 / 1.012 GB, free: 148 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002169/0.01493, allocations: 75.89 kB / 1.013 GB, free: 72 kB / 0.9636 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.0005939/0.01552, allocations: 0.9196 MB / 1.013 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.01575, allocations: 139.8 kB / 1.014 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01575, allocations: 0 / 1.014 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.004e-05/0.01584, allocations: 71.91 kB / 1.014 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.01624, allocations: 106.2 kB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.01952, allocations: 3.446 MB / 1.017 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.01965, allocations: 190.5 kB / 1.017 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.01977, allocations: 34.97 kB / 1.017 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.01989, allocations: 116.5 kB / 1.017 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of SimCode: time 7.01e-07/0.01989, allocations: 0 / 1.017 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.04489, allocations: 9.093 MB / 1.026 GB, free: 2.16 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.795, allocations: 4.062 kB / 1.026 GB, free: 2.156 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.819569703191519]