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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007716/0.007716, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.001768/0.001768, allocations: 196 kB / 16.67 MB, free: 5.969 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 68.12 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2947, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005369/0.3001, allocations: 4.157 MB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003575/0.3037, allocations: 2.418 MB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005175/0.3043, allocations: 11.94 kB / 1.214 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.3061, allocations: 0.5324 MB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000713/0.3068, allocations: 249.9 kB / 1.215 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.3071, allocations: 139.9 kB / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009726/0.3081, allocations: 0.8106 MB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004617/0.3086, allocations: 326.5 kB / 1.216 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.309, allocations: 294.9 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.3095, allocations: 330.6 kB / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.3096, allocations: 76 kB / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3097, allocations: 72 kB / 1.216 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.3099, allocations: 171.4 kB / 1.217 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.3103, allocations: 382.2 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008834/0.3112, allocations: 1.001 MB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3112, allocations: 0 / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3112, allocations: 0 / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.357e-05/0.3113, allocations: 4 kB / 1.218 GB, free: 15.1 MB / 0.9825 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.00163/0.3129, allocations: 0.9434 MB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.313, allocations: 12.62 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.3131, allocations: 90.7 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.3132, allocations: 80 kB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006327/0.3139, allocations: 457.6 kB / 1.22 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.3139, allocations: 45.36 kB / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.314, allocations: 48.38 kB / 1.22 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.3147, allocations: 434.5 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.3148, allocations: 0 / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.3148, allocations: 23.94 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.3148, allocations: 12 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/0.3155, allocations: 363.8 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.3175, allocations: 1.52 MB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.318, allocations: 336.9 kB / 1.222 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.3185, allocations: 320.7 kB / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.3185, allocations: 12.61 kB / 1.223 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3186, allocations: 38.5 kB / 1.223 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.3186, allocations: 0 / 1.223 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42): time 0.0009113/0.3195, allocations: 497.5 kB / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3195, allocations: 59.19 kB / 1.223 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/0.3201, allocations: 493.9 kB / 1.224 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3201, allocations: 29.7 kB / 1.224 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3203, allocations: 284.2 kB / 1.224 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.3204, allocations: 145.8 kB / 1.224 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-05/0.3205, allocations: 66.06 kB / 1.224 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3207, allocations: 358.8 kB / 1.224 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.3209, allocations: 116.7 kB / 1.225 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3212, allocations: 133.4 kB / 1.225 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/0.3216, allocations: 294.1 kB / 1.225 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3217, allocations: 0 / 1.225 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006229/0.3223, allocations: 396.1 kB / 1.225 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3223, allocations: 8 kB / 1.225 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3223, allocations: 0 / 1.225 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3223, allocations: 4 kB / 1.225 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.3228, allocations: 127.8 kB / 1.225 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3229, allocations: 4 kB / 1.225 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.3231, allocations: 35.67 kB / 1.225 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.3231, allocations: 12 kB / 1.226 GB, free: 7.141 MB / 0.9825 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.0002101/0.3234, allocations: 193.8 kB / 1.226 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.3234, allocations: 55.28 kB / 1.226 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.3236, allocations: 65.09 kB / 1.226 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3236, allocations: 4 kB / 1.226 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3236, allocations: 0 / 1.226 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3236, allocations: 4 kB / 1.226 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.3242, allocations: 0.5674 MB / 1.226 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3242, allocations: 3.938 kB / 1.226 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.3247, allocations: 123.9 kB / 1.226 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3247, allocations: 4 kB / 1.226 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.3248, allocations: 12 kB / 1.227 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3248, allocations: 4 kB / 1.227 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3248, allocations: 0 / 1.227 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.3257, allocations: 0.6507 MB / 1.227 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3259, allocations: 144.3 kB / 1.227 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.3259, allocations: 8 kB / 1.227 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.3262, allocations: 19.98 kB / 1.227 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.3262, allocations: 19.97 kB / 1.227 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.3263, allocations: 12 kB / 1.227 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003863/0.3266, allocations: 355.1 kB / 1.228 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3267, allocations: 0 / 1.228 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003934/0.3271, allocations: 135.7 kB / 1.228 GB, free: 4.691 MB / 0.9825 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.001195/0.3283, allocations: 1.211 MB / 1.229 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000583/0.3288, allocations: 323.6 kB / 1.229 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3289, allocations: 0 / 1.229 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.3291, allocations: 187.6 kB / 1.229 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.3298, allocations: 126.3 kB / 1.23 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/0.3362, allocations: 4.847 MB / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.3367, allocations: 0.8704 MB / 1.235 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.3369, allocations: 48.39 kB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.3372, allocations: 196.9 kB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/0.3372, allocations: 0 / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.3705, allocations: 11.62 MB / 1.247 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.498, allocations: 8.609 kB / 1.247 GB, free: 1.441 MB / 0.9981 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=50 --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