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.004963/0.004963, allocations: 104.4 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.001204/0.001204, 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2923, 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.InternalResistancesOneUTube): time 0.004395/0.2968, allocations: 3.045 MB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.2998, allocations: 2.148 MB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.3001, allocations: 4 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.3018, allocations: 0.4899 MB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.3022, allocations: 150.9 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.3024, allocations: 63.88 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005972/0.303, allocations: 449.9 kB / 1.214 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.3033, allocations: 147.2 kB / 1.214 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.3036, allocations: 151.4 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.3039, allocations: 191.1 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.529e-05/0.3039, allocations: 36 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-05/0.304, allocations: 36 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.3041, allocations: 99.61 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.3044, allocations: 214.9 kB / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.3049, allocations: 0.5489 MB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3049, allocations: 0 / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3049, allocations: 0 / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.3049, allocations: 0 / 1.215 GB, free: 2.297 MB / 0.9669 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.001178/0.3061, allocations: 0.7045 MB / 1.216 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3062, allocations: 8.625 kB / 1.216 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.292e-05/0.3062, allocations: 58.72 kB / 1.216 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/0.3063, allocations: 52.38 kB / 1.216 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.3069, allocations: 382.1 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3069, allocations: 16.81 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.307, allocations: 16.38 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.3074, allocations: 207.4 kB / 1.216 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3074, allocations: 0 / 1.216 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3075, allocations: 8 kB / 1.216 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3075, allocations: 8 kB / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.3079, allocations: 157.7 kB / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.3091, allocations: 0.8661 MB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.3095, allocations: 162.5 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.3097, allocations: 112.8 kB / 1.218 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3097, allocations: 7.938 kB / 1.218 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3097, allocations: 30.56 kB / 1.218 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.3097, allocations: 0 / 1.218 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0006058/0.3104, allocations: 254.9 kB / 1.218 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.3104, allocations: 59.41 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.3109, allocations: 417.7 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3109, allocations: 33.7 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.311, allocations: 200.2 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.3111, allocations: 71.02 kB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.3112, allocations: 29.72 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3113, allocations: 350.8 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3115, allocations: 55.97 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3116, allocations: 65.27 kB / 1.219 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.3119, allocations: 133.9 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3119, allocations: 0 / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003786/0.3123, allocations: 203.5 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3123, allocations: 4 kB / 1.219 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3123, allocations: 7.938 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3123, allocations: 3.984 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.3126, allocations: 59.91 kB / 1.219 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3126, allocations: 0 / 1.219 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.3128, allocations: 11.91 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3128, allocations: 7.984 kB / 1.219 GB, free: 13.35 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 (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.0001605/0.3129, allocations: 165.8 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.313, allocations: 35.53 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.813e-05/0.3131, allocations: 51.52 kB / 1.22 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3131, allocations: 0 / 1.22 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3131, allocations: 7.875 kB / 1.22 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3131, allocations: 0 / 1.22 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.3136, allocations: 373.3 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3136, allocations: 0 / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3138, allocations: 51.95 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.3138, allocations: 0 / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3139, allocations: 15.88 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3139, allocations: 11.98 kB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3139, allocations: 0 / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.3145, allocations: 380.1 kB / 1.221 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3146, allocations: 116.7 kB / 1.221 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.3147, allocations: 7.938 kB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.3148, allocations: 8.062 kB / 1.221 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.3149, allocations: 11.98 kB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3149, allocations: 4 kB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003169/0.3152, allocations: 307.1 kB / 1.221 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3152, allocations: 0 / 1.221 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000305/0.3155, allocations: 75.75 kB / 1.221 GB, free: 11.67 MB / 0.9825 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.0009097/0.3164, allocations: 0.9164 MB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.3168, allocations: 147.8 kB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3168, allocations: 0 / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.317, allocations: 78.25 kB / 1.222 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.3176, allocations: 92.69 kB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.3222, allocations: 3.476 MB / 1.226 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3225, allocations: 0.799 MB / 1.226 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.3227, allocations: 38.94 kB / 1.226 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.3229, allocations: 111.4 kB / 1.227 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3229, allocations: 0 / 1.227 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3522, allocations: 8.112 MB / 1.234 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.287, allocations: 3.625 kB / 1.234 GB, free: 14.04 MB / 0.9981 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