Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007841/0.007841, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001988/0.001988, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3042, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005183/0.3094, allocations: 3.04 MB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003225/0.3127, allocations: 2.149 MB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.313, allocations: 4 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.3149, allocations: 0.5016 MB / 1.172 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.3154, allocations: 146.8 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.3156, allocations: 55.94 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.3163, allocations: 445.9 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.3166, allocations: 159.2 kB / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.3169, allocations: 155.4 kB / 1.173 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.3173, allocations: 183.1 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.271e-05/0.3174, allocations: 36 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.3174, allocations: 32 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3176, allocations: 95.67 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.3179, allocations: 226.9 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.3185, allocations: 0.5447 MB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3185, allocations: 3.938 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3185, allocations: 0 / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.3186, allocations: 0 / 1.174 GB, free: 15.5 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.001206/0.3198, allocations: 0.7198 MB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3198, allocations: 8.031 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.713e-05/0.3199, allocations: 58.73 kB / 1.175 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.32, allocations: 44.66 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.3206, allocations: 390.3 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3207, allocations: 12.81 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.3207, allocations: 24.38 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.3212, allocations: 203.4 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3212, allocations: 4 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.3212, allocations: 4 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3212, allocations: 4 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.3217, allocations: 169.6 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.323, allocations: 0.8625 MB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.3233, allocations: 154.6 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.3235, allocations: 111.3 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3236, allocations: 4 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3236, allocations: 34.56 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 3.547e-06/0.3236, allocations: 0 / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0006379/0.3242, allocations: 263.5 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3243, allocations: 51.41 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005576/0.3249, allocations: 417.7 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3249, allocations: 25.7 kB / 1.177 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.3251, allocations: 216.3 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.139e-05/0.3251, allocations: 63.44 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.3252, allocations: 33.7 kB / 1.178 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3254, allocations: 346.8 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3256, allocations: 55.97 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3257, allocations: 58.2 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.326, allocations: 136.8 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.326, allocations: 3.938 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004285/0.3265, allocations: 211.6 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3265, allocations: 8 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3265, allocations: 3.938 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3265, allocations: 0 / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.3268, allocations: 51.91 kB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3268, allocations: 8 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.327, allocations: 23.83 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.327, allocations: 4 kB / 1.178 GB, free: 10.52 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.0001859/0.3272, allocations: 161.8 kB / 1.179 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.3273, allocations: 39.7 kB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/0.3274, allocations: 43.53 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3274, allocations: 4 kB / 1.179 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3274, allocations: 0 / 1.179 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3275, allocations: 7.984 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.328, allocations: 377.2 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.328, allocations: 0 / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.3283, allocations: 59.91 kB / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3283, allocations: 0 / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.3283, allocations: 7.938 kB / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3283, allocations: 3.984 kB / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.3283, allocations: 7.984 kB / 1.179 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.329, allocations: 369.1 kB / 1.179 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.3291, allocations: 124.8 kB / 1.18 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.3292, allocations: 3.938 kB / 1.18 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.3294, allocations: 19.92 kB / 1.18 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.3294, allocations: 11.97 kB / 1.18 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3294, allocations: 8 kB / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003803/0.3298, allocations: 299.2 kB / 1.18 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3298, allocations: 4 kB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003242/0.3302, allocations: 75.89 kB / 1.18 GB, free: 8.836 MB / 0.9356 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.001007/0.3312, allocations: 0.923 MB / 1.181 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004084/0.3316, allocations: 147.8 kB / 1.181 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3316, allocations: 0 / 1.181 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.3318, allocations: 79.89 kB / 1.181 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.3324, allocations: 85.95 kB / 1.181 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.3374, allocations: 3.5 MB / 1.185 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.3379, allocations: 0.799 MB / 1.185 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.338, allocations: 34.97 kB / 1.185 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.3382, allocations: 119.4 kB / 1.185 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.3382, allocations: 0 / 1.185 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.3708, allocations: 8 MB / 1.193 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/8.716, allocations: 12.58 kB / 1.193 GB, free: 11.29 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches