Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001869/0.001869, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002373/0.002373, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.097/3.097, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001883/0.001883, allocations: 78.02 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3206, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005556/0.3262, allocations: 3.787 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.3299, allocations: 2.238 MB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004553/0.3303, allocations: 8 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.3322, allocations: 0.5052 MB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.333, allocations: 250 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.3333, allocations: 139.8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009759/0.3343, allocations: 0.8059 MB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.3347, allocations: 239 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.3352, allocations: 310.9 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.3356, allocations: 322.6 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.931e-05/0.3357, allocations: 72 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3358, allocations: 79.94 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.336, allocations: 171.4 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.3363, allocations: 310.7 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3373, allocations: 1.002 MB / 1.337 GB, free: 7.199 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3374, allocations: 0 / 1.337 GB, free: 7.199 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3374, allocations: 0 / 1.337 GB, free: 7.199 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.3374, allocations: 4 kB / 1.337 GB, free: 7.195 MB / 1.029 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.001514/0.3389, allocations: 0.8899 MB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3389, allocations: 11.97 kB / 1.338 GB, free: 6.262 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.54e-05/0.339, allocations: 13.19 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.812e-05/0.3391, allocations: 86.7 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3392, allocations: 76.47 kB / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.3399, allocations: 404.2 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.3399, allocations: 37.38 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/0.34, allocations: 52.38 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.3408, allocations: 430.4 kB / 1.339 GB, free: 5.148 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3408, allocations: 0 / 1.339 GB, free: 5.148 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.3408, allocations: 20 kB / 1.339 GB, free: 5.129 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.3409, allocations: 12 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.3416, allocations: 367.8 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.3437, allocations: 1.253 MB / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.3442, allocations: 315.2 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.3447, allocations: 297.3 kB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3448, allocations: 8.625 kB / 1.341 GB, free: 2.832 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.3448, allocations: 34.56 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 2.605e-06/0.3448, allocations: 0 / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.001021/0.3458, allocations: 492.8 kB / 1.341 GB, free: 2.301 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.3459, allocations: 63.19 kB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.3465, allocations: 489.9 kB / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3466, allocations: 33.7 kB / 1.342 GB, free: 1.703 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.3468, allocations: 276.7 kB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.347, allocations: 162.6 kB / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3471, allocations: 58.08 kB / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3472, allocations: 358.8 kB / 1.343 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.3475, allocations: 124.6 kB / 1.343 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.3478, allocations: 133.2 kB / 1.343 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.3483, allocations: 290.4 kB / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3483, allocations: 0 / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007231/0.349, allocations: 396.5 kB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.349, allocations: 10.34 kB / 1.344 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.349, allocations: 0 / 1.344 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.3491, allocations: 3.984 kB / 1.344 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.3496, allocations: 127.9 kB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3496, allocations: 4.766 kB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.3498, allocations: 39.67 kB / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.3499, allocations: 15.98 kB / 1.344 GB, free: 15.71 MB / 1.045 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.0002729/0.3501, allocations: 194.3 kB / 1.344 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.3502, allocations: 55.61 kB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.3504, allocations: 61.09 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3504, allocations: 4 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3504, allocations: 3.938 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3504, allocations: 0 / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006501/0.351, allocations: 492.2 kB / 1.345 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.351, allocations: 0 / 1.345 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.3515, allocations: 127.9 kB / 1.345 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3515, allocations: 0 / 1.345 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.3516, allocations: 12 kB / 1.345 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3516, allocations: 0 / 1.345 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3516, allocations: 0 / 1.345 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3526, allocations: 0.6598 MB / 1.345 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3527, allocations: 63.58 kB / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.3528, allocations: 8 kB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.353, allocations: 15.98 kB / 1.345 GB, free: 13.97 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.3531, allocations: 23.95 kB / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3531, allocations: 8 kB / 1.345 GB, free: 13.94 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004257/0.3535, allocations: 347.1 kB / 1.346 GB, free: 13.6 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3535, allocations: 0 / 1.346 GB, free: 13.6 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004345/0.354, allocations: 147.7 kB / 1.346 GB, free: 13.46 MB / 1.045 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.0014/0.3554, allocations: 1.208 MB / 1.347 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000637/0.356, allocations: 311.8 kB / 1.347 GB, free: 11.92 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.356, allocations: 4 kB / 1.347 GB, free: 11.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.3563, allocations: 167.6 kB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.357, allocations: 134.1 kB / 1.348 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.3642, allocations: 4.853 MB / 1.352 GB, free: 6.691 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3645, allocations: 279 kB / 1.353 GB, free: 6.391 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002496/0.3647, allocations: 52.34 kB / 1.353 GB, free: 6.336 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.365, allocations: 187.4 kB / 1.353 GB, free: 6.152 MB / 1.045 GB Notification: Performance of SimCode: time 1.523e-06/0.365, allocations: 0 / 1.353 GB, free: 6.152 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04153/0.4066, allocations: 12.29 MB / 1.365 GB, free: 10.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.38, allocations: 16.59 kB / 1.365 GB, free: 10.24 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.120595301967114]