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.001597/0.001597, 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.001838/0.001838, allocations: 214.1 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 8.016 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.027/3.027, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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="me",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="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.001985/0.001985, allocations: 71.27 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3068, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005555/0.3123, allocations: 4.226 MB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.3159, allocations: 2.468 MB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.3162, allocations: 19.94 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.3178, allocations: 0.5558 MB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005528/0.3184, allocations: 246.1 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.3186, allocations: 143.8 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009233/0.3196, allocations: 0.8029 MB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.3199, allocations: 235 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.3204, allocations: 310.9 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.3208, allocations: 326.6 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.3208, allocations: 76 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3209, allocations: 76 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3211, allocations: 167.5 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.3214, allocations: 386.2 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009516/0.3224, allocations: 0.9924 MB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3224, allocations: 0 / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3224, allocations: 0 / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.3224, allocations: 0 / 1.337 GB, free: 6.922 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.001445/0.3238, allocations: 0.8977 MB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3239, allocations: 8.031 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.43e-05/0.324, allocations: 86.7 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3241, allocations: 76.47 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.3247, allocations: 400.2 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.3248, allocations: 37.38 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.3248, allocations: 52.31 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.3256, allocations: 430.6 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3256, allocations: 4 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.3256, allocations: 20 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3256, allocations: 12 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006902/0.3263, allocations: 363.8 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.3284, allocations: 1.473 MB / 1.34 GB, free: 2.957 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.3289, allocations: 323.3 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.3294, allocations: 286.1 kB / 1.341 GB, free: 2.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3294, allocations: 7.938 kB / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3294, allocations: 42.34 kB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 1.793e-06/0.3294, allocations: 4 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.0009475/0.3304, allocations: 0.4929 MB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3304, allocations: 55.41 kB / 1.342 GB, free: 1.719 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.331, allocations: 481.9 kB / 1.342 GB, free: 1.242 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.331, allocations: 33.7 kB / 1.342 GB, free: 1.203 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.3312, allocations: 280.7 kB / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.3313, allocations: 154.6 kB / 1.342 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-05/0.3314, allocations: 66.06 kB / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3316, allocations: 362.8 kB / 1.343 GB, free: 340 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.3318, allocations: 116.7 kB / 1.343 GB, free: 224 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.3321, allocations: 129.2 kB / 1.343 GB, free: 96 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.3326, allocations: 294.5 kB / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3326, allocations: 0 / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006452/0.3332, allocations: 404.5 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3333, allocations: 8 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3333, allocations: 0 / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3333, allocations: 0 / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.3338, allocations: 127.8 kB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3338, allocations: 4 kB / 1.344 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.334, allocations: 39.73 kB / 1.344 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.334, allocations: 8 kB / 1.344 GB, free: 15.21 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.0002176/0.3342, allocations: 198.3 kB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.3343, allocations: 55.61 kB / 1.344 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.3344, allocations: 61.09 kB / 1.344 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3344, allocations: 4 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3344, allocations: 3.938 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3344, allocations: 4 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.3351, allocations: 0.5468 MB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3351, allocations: 7.938 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.3356, allocations: 123.9 kB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3356, allocations: 0 / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.3356, allocations: 8 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3356, allocations: 0 / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3356, allocations: 0 / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.3366, allocations: 0.6521 MB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3367, allocations: 63.52 kB / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.3368, allocations: 12 kB / 1.346 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.337, allocations: 11.98 kB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.337, allocations: 27.89 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3371, allocations: 12 kB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00041/0.3375, allocations: 355.1 kB / 1.346 GB, free: 13.03 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3375, allocations: 3.938 kB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003962/0.3379, allocations: 143.7 kB / 1.346 GB, free: 12.88 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.001326/0.3392, allocations: 1.204 MB / 1.347 GB, free: 11.65 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005857/0.3398, allocations: 303.9 kB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3398, allocations: 0 / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.3401, allocations: 175.5 kB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.3407, allocations: 139.8 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/0.3475, allocations: 4.848 MB / 1.353 GB, free: 6.125 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.348, allocations: 0.8663 MB / 1.354 GB, free: 5.23 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002084/0.3482, allocations: 56.34 kB / 1.354 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.3485, allocations: 195.3 kB / 1.354 GB, free: 4.98 MB / 1.045 GB Notification: Performance of SimCode: time 8.51e-07/0.3485, allocations: 0 / 1.354 GB, free: 4.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/0.3932, allocations: 11.78 MB / 1.365 GB, free: 9.473 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.23, allocations: 3.266 kB / 1.365 GB, free: 9.473 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.73471827013418]