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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004398/0.004398, allocations: 102.6 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 191.2 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.684/2.684, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 76.11 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2858, allocations: 162.3 MB / 1.242 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005037/0.2909, allocations: 4.159 MB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.2939, allocations: 2.409 MB / 1.248 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.2941, allocations: 12 kB / 1.248 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.2956, allocations: 0.5519 MB / 1.249 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.296, allocations: 242 kB / 1.249 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.2962, allocations: 135.8 kB / 1.249 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007358/0.2969, allocations: 0.7981 MB / 1.25 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.2973, allocations: 334.5 kB / 1.25 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.2977, allocations: 290.9 kB / 1.251 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.298, allocations: 334.5 kB / 1.251 GB, free: 456 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.174e-05/0.2981, allocations: 76 kB / 1.251 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.2982, allocations: 72 kB / 1.251 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.2984, allocations: 167.5 kB / 1.251 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.5037/0.8021, allocations: 379.7 kB / 1.252 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.8033, allocations: 0.9964 MB / 1.253 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8033, allocations: 0.6094 kB / 1.253 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8033, allocations: 0.9688 kB / 1.253 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.8033, allocations: 0.75 kB / 1.253 GB, free: 8.504 MB / 0.9981 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.00125/0.8045, allocations: 0.9668 MB / 1.254 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.8046, allocations: 9.25 kB / 1.254 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.104e-05/0.8047, allocations: 89.52 kB / 1.254 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.852e-05/0.8048, allocations: 76.44 kB / 1.254 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.8053, allocations: 463.5 kB / 1.254 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.8054, allocations: 36.5 kB / 1.254 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.8054, allocations: 49.03 kB / 1.254 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.8061, allocations: 431 kB / 1.255 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.8062, allocations: 6.172 kB / 1.255 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.8062, allocations: 18.06 kB / 1.255 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.8062, allocations: 14.7 kB / 1.255 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006683/0.8069, allocations: 366.3 kB / 1.255 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.8087, allocations: 1.525 MB / 1.256 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.8092, allocations: 339 kB / 1.257 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.8097, allocations: 321.4 kB / 1.257 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.8097, allocations: 5.781 kB / 1.257 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.8098, allocations: 41.95 kB / 1.257 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 2.295e-06/0.8098, allocations: 0.8438 kB / 1.257 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.0008814/0.8106, allocations: 0.4931 MB / 1.258 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.8107, allocations: 56.5 kB / 1.258 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.8112, allocations: 485.7 kB / 1.258 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.8112, allocations: 32.33 kB / 1.258 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.8114, allocations: 278.2 kB / 1.258 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.8114, allocations: 156.7 kB / 1.259 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.8115, allocations: 61.8 kB / 1.259 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.8116, allocations: 360.3 kB / 1.259 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.8118, allocations: 122.3 kB / 1.259 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.8121, allocations: 134.3 kB / 1.259 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.8125, allocations: 294.9 kB / 1.26 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8125, allocations: 0 / 1.26 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005877/0.8131, allocations: 404.4 kB / 1.26 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.8131, allocations: 6.469 kB / 1.26 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8132, allocations: 0 / 1.26 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8132, allocations: 3.219 kB / 1.26 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.8137, allocations: 122.8 kB / 1.26 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.8137, allocations: 9.219 kB / 1.26 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.8139, allocations: 34.83 kB / 1.26 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.8139, allocations: 11.72 kB / 1.26 GB, free: 5.328 MB / 0.9981 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.0001547/0.8141, allocations: 193.1 kB / 1.26 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.8141, allocations: 60.14 kB / 1.26 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.84e-05/0.8142, allocations: 55.61 kB / 1.26 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.8143, allocations: 4.641 kB / 1.26 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8143, allocations: 0.9062 kB / 1.26 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.8143, allocations: 7.281 kB / 1.26 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.8148, allocations: 0.5722 MB / 1.261 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.8148, allocations: 0.875 kB / 1.261 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.8153, allocations: 132.1 kB / 1.261 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8153, allocations: 0.875 kB / 1.261 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.8153, allocations: 10.69 kB / 1.261 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.8153, allocations: 1.844 kB / 1.261 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8153, allocations: 1.875 kB / 1.261 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/0.8162, allocations: 0.6482 MB / 1.262 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.8163, allocations: 144.9 kB / 1.262 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.8164, allocations: 6.688 kB / 1.262 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.8166, allocations: 14.66 kB / 1.262 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.8166, allocations: 23.91 kB / 1.262 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.8167, allocations: 15.39 kB / 1.262 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003593/0.817, allocations: 350.3 kB / 1.262 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.817, allocations: 1.094 kB / 1.262 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004012/0.8174, allocations: 145.1 kB / 1.262 GB, free: 4.023 MB / 0.9981 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.001003/0.8184, allocations: 1.215 MB / 1.264 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004886/0.8189, allocations: 319.3 kB / 1.264 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.819, allocations: 2.625 kB / 1.264 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.8192, allocations: 183.6 kB / 1.264 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.8198, allocations: 128.2 kB / 1.264 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/0.8249, allocations: 4.854 MB / 1.269 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.8254, allocations: 0.8686 MB / 1.27 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.8256, allocations: 53.09 kB / 1.27 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.8258, allocations: 193.5 kB / 1.27 GB, free: 15.4 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/0.8258, allocations: 0 / 1.27 GB, free: 15.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.455/2.281, allocations: 11.43 MB / 1.281 GB, free: 14.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.27/19.55, allocations: 8.641 kB / 1.281 GB, free: 14.29 MB / 1.014 GB (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 --timeout=400 --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) 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) Reference file matches