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.001121/0.001121, 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.0008124/0.0008124, allocations: 170.3 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.8531/0.8531, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.717/1.717, allocations: 389 MB / 0.633 GB, free: 12.69 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.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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.779e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003933/0.003951, allocations: 3.8 MB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.00626, allocations: 2.23 MB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.006448, allocations: 12 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.007526, allocations: 0.5167 MB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.007798, allocations: 257.8 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.007966, allocations: 139.8 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.008523, allocations: 0.8482 MB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.008783, allocations: 215 kB / 1.008 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.009193, allocations: 471 kB / 1.008 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.00941, allocations: 239.3 kB / 1.008 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.009468, allocations: 72 kB / 1.008 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.38e-05/0.009532, allocations: 76 kB / 1.008 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.009643, allocations: 167.4 kB / 1.009 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.009801, allocations: 275.4 kB / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.01049, allocations: 0.9852 MB / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.01049, allocations: 4 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01049, allocations: 0 / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.0105, allocations: 0 / 1.01 GB, free: 3.117 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008938/0.0114, allocations: 0.8843 MB / 1.011 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01143, allocations: 12.69 kB / 1.011 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.584e-05/0.01149, allocations: 90.7 kB / 1.011 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.01156, allocations: 76.47 kB / 1.011 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.01197, allocations: 395.5 kB / 1.011 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.01199, allocations: 37.38 kB / 1.011 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.01204, allocations: 52.33 kB / 1.011 GB, free: 1.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.01249, allocations: 431 kB / 1.012 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.01251, allocations: 4.188 kB / 1.012 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.01253, allocations: 28.06 kB / 1.012 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.01254, allocations: 8 kB / 1.012 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.01296, allocations: 367.8 kB / 1.012 GB, free: 0.6953 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.01418, allocations: 1.242 MB / 1.013 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.0145, allocations: 311.2 kB / 1.014 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.01479, allocations: 284.8 kB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.01481, allocations: 4 kB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.01483, allocations: 38.56 kB / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=42): time 1.693e-06/0.01483, allocations: 0 / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of matching and sorting (n=42): time 0.0005651/0.0154, allocations: 0.4972 MB / 1.014 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.01543, allocations: 59.41 kB / 1.014 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.01577, allocations: 481.9 kB / 1.015 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.01579, allocations: 33.7 kB / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01592, allocations: 288.6 kB / 1.015 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.01599, allocations: 150.7 kB / 1.015 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.01606, allocations: 66.08 kB / 1.015 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.01615, allocations: 362.8 kB / 1.016 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.01629, allocations: 116.7 kB / 1.016 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.01643, allocations: 125.4 kB / 1.016 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.01674, allocations: 298.2 kB / 1.016 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01674, allocations: 0 / 1.016 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005053/0.01724, allocations: 404.5 kB / 1.017 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.01726, allocations: 5.719 kB / 1.017 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.01726, allocations: 11.86 kB / 1.017 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01727, allocations: 4 kB / 1.017 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.01753, allocations: 123.9 kB / 1.017 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.01754, allocations: 0 / 1.017 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.01764, allocations: 35.73 kB / 1.017 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.01765, allocations: 12 kB / 1.017 GB, free: 11.68 MB / 0.9792 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.0001739/0.01782, allocations: 197.8 kB / 1.017 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.01787, allocations: 55.66 kB / 1.017 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.01793, allocations: 69.03 kB / 1.017 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01793, allocations: 4 kB / 1.017 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01794, allocations: 0 / 1.017 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01794, allocations: 0 / 1.017 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.01831, allocations: 488.8 kB / 1.018 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01831, allocations: 0 / 1.018 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.01857, allocations: 127.9 kB / 1.018 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01857, allocations: 0 / 1.018 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.01858, allocations: 11.94 kB / 1.018 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01859, allocations: 3.938 kB / 1.018 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01859, allocations: 4 kB / 1.018 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.01917, allocations: 0.6443 MB / 1.018 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.01923, allocations: 63.58 kB / 1.018 GB, free: 9.961 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.01926, allocations: 15.94 kB / 1.018 GB, free: 9.945 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.01937, allocations: 15.98 kB / 1.018 GB, free: 9.93 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.01941, allocations: 23.95 kB / 1.018 GB, free: 9.906 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.01942, allocations: 8 kB / 1.018 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002435/0.01966, allocations: 351.1 kB / 1.019 GB, free: 9.559 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01966, allocations: 0 / 1.019 GB, free: 9.559 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002389/0.0199, allocations: 139.7 kB / 1.019 GB, free: 9.422 MB / 0.9792 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.0007393/0.02064, allocations: 1.219 MB / 1.02 GB, free: 8.176 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.02099, allocations: 308.2 kB / 1.02 GB, free: 7.875 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.021, allocations: 0 / 1.02 GB, free: 7.875 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.02116, allocations: 167.6 kB / 1.021 GB, free: 7.711 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.02154, allocations: 121.8 kB / 1.021 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/0.02602, allocations: 4.797 MB / 1.025 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.02619, allocations: 275.2 kB / 1.026 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000136/0.02632, allocations: 52.36 kB / 1.026 GB, free: 2.355 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.02649, allocations: 188.4 kB / 1.026 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of SimCode: time 5.11e-07/0.02649, allocations: 4 kB / 1.026 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.04977, allocations: 12.75 MB / 1.038 GB, free: 5.789 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/6.803, allocations: 11.94 kB / 1.038 GB, free: 5.777 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.167053626850247]