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.00143/0.00143, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001637/0.001637, allocations: 214.7 kB / 23.02 MB, free: 4.953 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.151/3.151, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",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="cs",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.001898/0.001898, allocations: 61.94 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3294, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005323/0.3347, allocations: 3.802 MB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003467/0.3382, allocations: 2.223 MB / 1.351 GB, free: 9.879 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.3384, allocations: 8 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.34, allocations: 0.517 MB / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.3405, allocations: 246 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.3407, allocations: 135.9 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008387/0.3416, allocations: 0.8175 MB / 1.353 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.3419, allocations: 231 kB / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.3424, allocations: 302.9 kB / 1.353 GB, free: 7.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.3428, allocations: 330.6 kB / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.378e-05/0.3429, allocations: 72 kB / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.343, allocations: 76 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.3432, allocations: 171.4 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.3435, allocations: 318.7 kB / 1.354 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009652/0.3444, allocations: 1 MB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3444, allocations: 0 / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3444, allocations: 0 / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.3445, allocations: 0 / 1.355 GB, free: 5.676 MB / 1.045 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.001506/0.346, allocations: 0.8899 MB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.346, allocations: 8.031 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.247e-05/0.346, allocations: 13.19 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.417e-05/0.3461, allocations: 86.7 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.3463, allocations: 80.41 kB / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000693/0.3469, allocations: 408.2 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.347, allocations: 33.38 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.899e-05/0.3471, allocations: 48.38 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/0.3479, allocations: 430.4 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3479, allocations: 3.938 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.3479, allocations: 20 kB / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.348, allocations: 12 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007231/0.3487, allocations: 367.8 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.3508, allocations: 1.272 MB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.3513, allocations: 299.5 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.3518, allocations: 288.5 kB / 1.359 GB, free: 1.328 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3518, allocations: 4 kB / 1.359 GB, free: 1.324 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3519, allocations: 38.56 kB / 1.359 GB, free: 1.277 MB / 1.045 GB Notification: Performance of pre-optimization done (n=42): time 2.635e-06/0.3519, allocations: 0 / 1.359 GB, free: 1.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=42): time 0.001076/0.353, allocations: 0.4983 MB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.353, allocations: 55.41 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.3536, allocations: 485.9 kB / 1.36 GB, free: 224 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.3537, allocations: 33.7 kB / 1.36 GB, free: 184 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.3539, allocations: 277.5 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.3541, allocations: 154.6 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3542, allocations: 62.08 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.3544, allocations: 358.8 kB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.3547, allocations: 128.7 kB / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.355, allocations: 129.2 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.3555, allocations: 294.2 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3555, allocations: 3.938 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006761/0.3562, allocations: 400.6 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3562, allocations: 4 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3562, allocations: 4 kB / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3562, allocations: 4 kB / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.3567, allocations: 123.9 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3567, allocations: 0 / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3569, allocations: 39.77 kB / 1.362 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.3569, allocations: 16 kB / 1.362 GB, free: 14.19 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.0002298/0.3572, allocations: 185.8 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.142e-05/0.3573, allocations: 55.61 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.3574, allocations: 73.08 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.3574, allocations: 4 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3574, allocations: 0 / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3574, allocations: 3.984 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.358, allocations: 488 kB / 1.363 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.358, allocations: 0 / 1.363 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.3585, allocations: 123.9 kB / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3585, allocations: 4 kB / 1.363 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.3586, allocations: 4 kB / 1.363 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3586, allocations: 8 kB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3586, allocations: 7.875 kB / 1.363 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3596, allocations: 0.6509 MB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.3597, allocations: 63.58 kB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.3598, allocations: 8 kB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.36, allocations: 15.98 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.36, allocations: 23.89 kB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.3601, allocations: 12 kB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004282/0.3605, allocations: 355.1 kB / 1.364 GB, free: 12.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3605, allocations: 0 / 1.364 GB, free: 12.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004198/0.3609, allocations: 143.7 kB / 1.365 GB, free: 11.93 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.001364/0.3623, allocations: 1.212 MB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.3629, allocations: 299.6 kB / 1.366 GB, free: 10.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3629, allocations: 0 / 1.366 GB, free: 10.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.3631, allocations: 163.8 kB / 1.366 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006472/0.3638, allocations: 136.8 kB / 1.366 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.3704, allocations: 4.842 MB / 1.371 GB, free: 5.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3707, allocations: 275 kB / 1.371 GB, free: 4.883 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.3709, allocations: 56.36 kB / 1.371 GB, free: 4.828 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.3712, allocations: 191.4 kB / 1.372 GB, free: 4.641 MB / 1.061 GB Notification: Performance of SimCode: time 9.42e-07/0.3712, allocations: 0 / 1.372 GB, free: 4.641 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.4082, allocations: 12.31 MB / 1.384 GB, free: 8.691 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.08, allocations: 4 kB / 1.384 GB, free: 8.688 MB / 1.076 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.75809360994026]