Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.005627/0.005627, allocations: 101.8 kB / 15.73 MB, free: 6 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.001338/0.001338, allocations: 193.5 kB / 16.67 MB, free: 5.926 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.435/2.435, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 64.12 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7718/0.7733, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004213/0.7775, allocations: 3.048 MB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.7803, allocations: 2.139 MB / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.7806, allocations: 8 kB / 1.212 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.7821, allocations: 0.4899 MB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.7825, allocations: 158.8 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.7826, allocations: 55.94 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.7831, allocations: 449.8 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.7834, allocations: 155.2 kB / 1.214 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.7836, allocations: 155.4 kB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.7838, allocations: 179.1 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.7839, allocations: 35.98 kB / 1.214 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.7839, allocations: 40 kB / 1.214 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.7841, allocations: 95.67 kB / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.7842, allocations: 222.9 kB / 1.214 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.7847, allocations: 0.5411 MB / 1.215 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.7848, allocations: 4 kB / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7848, allocations: 0 / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.7848, allocations: 0 / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009887/0.7858, allocations: 0.7006 MB / 1.216 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7858, allocations: 8.031 kB / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.7859, allocations: 58.73 kB / 1.216 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.786, allocations: 44.38 kB / 1.216 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.7865, allocations: 374.1 kB / 1.216 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.7865, allocations: 20.8 kB / 1.216 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.7866, allocations: 24.38 kB / 1.216 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.787, allocations: 203.3 kB / 1.216 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.787, allocations: 0 / 1.216 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.787, allocations: 12 kB / 1.216 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.787, allocations: 4 kB / 1.216 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.7874, allocations: 169.6 kB / 1.216 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.7886, allocations: 0.8622 MB / 1.217 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.7889, allocations: 150.6 kB / 1.217 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.7891, allocations: 114.6 kB / 1.218 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.7892, allocations: 4 kB / 1.218 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.7892, allocations: 34.56 kB / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.7892, allocations: 0 / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0006079/0.7898, allocations: 267.4 kB / 1.218 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.7899, allocations: 51.41 kB / 1.218 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.7904, allocations: 425.6 kB / 1.218 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.7904, allocations: 25.7 kB / 1.218 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.7905, allocations: 208.2 kB / 1.218 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.7906, allocations: 59.11 kB / 1.219 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.7907, allocations: 33.7 kB / 1.219 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7908, allocations: 346.8 kB / 1.219 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.7909, allocations: 55.97 kB / 1.219 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.7911, allocations: 61.52 kB / 1.219 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.7914, allocations: 130.7 kB / 1.219 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7914, allocations: 0 / 1.219 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004118/0.7918, allocations: 213.1 kB / 1.219 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7918, allocations: 4 kB / 1.219 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7919, allocations: 7.938 kB / 1.219 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.7919, allocations: 0 / 1.219 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.7921, allocations: 51.97 kB / 1.219 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7922, allocations: 0 / 1.219 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.7923, allocations: 23.83 kB / 1.219 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.7924, allocations: 4 kB / 1.219 GB, free: 0.8242 MB / 0.9356 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 (20): * Single equations (assignments): 20 * 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.0001854/0.7925, allocations: 165.8 kB / 1.22 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.7926, allocations: 35.53 kB / 1.22 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.7927, allocations: 43.53 kB / 1.22 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7927, allocations: 4 kB / 1.22 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.7927, allocations: 11.98 kB / 1.22 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7927, allocations: 0 / 1.22 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.7932, allocations: 381.2 kB / 1.22 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7932, allocations: 0 / 1.22 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.7935, allocations: 59.91 kB / 1.22 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7935, allocations: 0 / 1.22 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.7935, allocations: 3.938 kB / 1.22 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7935, allocations: 0 / 1.22 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7935, allocations: 0 / 1.22 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.7942, allocations: 378.9 kB / 1.22 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.7943, allocations: 116.8 kB / 1.221 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.7944, allocations: 3.938 kB / 1.221 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.7945, allocations: 15.92 kB / 1.221 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.7946, allocations: 11.98 kB / 1.221 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.7946, allocations: 16 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003419/0.7949, allocations: 295.2 kB / 1.221 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7949, allocations: 0 / 1.221 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003082/0.7953, allocations: 71.84 kB / 1.221 GB, free: 15.15 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0009393/0.7962, allocations: 0.9268 MB / 1.222 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.7966, allocations: 147.8 kB / 1.222 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7966, allocations: 0 / 1.222 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.7968, allocations: 81.62 kB / 1.222 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.7973, allocations: 95.92 kB / 1.222 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.8018, allocations: 3.488 MB / 1.226 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.8021, allocations: 0.795 MB / 1.226 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.8023, allocations: 34.97 kB / 1.226 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.8025, allocations: 119.4 kB / 1.227 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of SimCode: time 8.21e-07/0.8025, allocations: 0 / 1.227 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.8309, allocations: 8.106 MB / 1.234 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.787, allocations: 8.922 kB / 1.234 GB, free: 1.512 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches