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.007812/0.007813, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001801/0.001801, allocations: 195.8 kB / 16.67 MB, free: 5.906 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.411/2.411, allocations: 437.1 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2658, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004115/0.2699, allocations: 3.045 MB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.2729, allocations: 2.151 MB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.2733, allocations: 4 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.275, allocations: 0.4912 MB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.2756, allocations: 150.9 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.2758, allocations: 55.89 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006623/0.2765, allocations: 453.6 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.2768, allocations: 151.2 kB / 1.173 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.2771, allocations: 159.4 kB / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.2774, allocations: 183.1 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.2774, allocations: 36 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.2775, allocations: 36 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.2776, allocations: 95.67 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.2779, allocations: 218.9 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.2784, allocations: 0.541 MB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.2784, allocations: 8 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.786e-06/0.2785, allocations: 0 / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.2785, allocations: 3.938 kB / 1.174 GB, free: 15.54 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.001101/0.2796, allocations: 0.7045 MB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2796, allocations: 16.03 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.2797, allocations: 50.73 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.2798, allocations: 48.38 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.2804, allocations: 378.1 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2804, allocations: 16.81 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.2804, allocations: 16.38 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.2808, allocations: 207.4 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2809, allocations: 4 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.2809, allocations: 8 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2809, allocations: 8 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.2813, allocations: 157.7 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.2825, allocations: 0.8739 MB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.2828, allocations: 150.6 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.283, allocations: 104.8 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.283, allocations: 7.938 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.283, allocations: 34.56 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.283, allocations: 4 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.000567/0.2836, allocations: 254.9 kB / 1.177 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.2837, allocations: 55.41 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.2841, allocations: 417.7 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2841, allocations: 33.7 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2843, allocations: 200.2 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.2843, allocations: 71.08 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.2844, allocations: 29.72 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2845, allocations: 350.8 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.2847, allocations: 55.92 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2848, allocations: 61.97 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2851, allocations: 140.8 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2851, allocations: 0 / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003704/0.2855, allocations: 207 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2855, allocations: 4 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2855, allocations: 7.922 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2856, allocations: 4 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.2858, allocations: 63.89 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2858, allocations: 0 / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.286, allocations: 19.84 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.286, allocations: 4 kB / 1.178 GB, free: 10.59 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.0001446/0.2861, allocations: 165.8 kB / 1.179 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.2862, allocations: 35.53 kB / 1.179 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/0.2863, allocations: 43.53 kB / 1.179 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2863, allocations: 0 / 1.179 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.2863, allocations: 11.86 kB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2863, allocations: 0 / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.2867, allocations: 373.3 kB / 1.179 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2867, allocations: 4 kB / 1.179 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.287, allocations: 47.97 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.287, allocations: 3.984 kB / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.287, allocations: 11.94 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.287, allocations: 0 / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.287, allocations: 0 / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.2876, allocations: 380.9 kB / 1.179 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.724e-05/0.2877, allocations: 116.7 kB / 1.18 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.2877, allocations: 7.938 kB / 1.18 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.2879, allocations: 11.98 kB / 1.18 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.2879, allocations: 7.984 kB / 1.18 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.2879, allocations: 4 kB / 1.18 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003028/0.2882, allocations: 307.1 kB / 1.18 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2883, allocations: 0 / 1.18 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002982/0.2886, allocations: 75.91 kB / 1.18 GB, free: 8.918 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.0008549/0.2894, allocations: 0.9207 MB / 1.181 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.2898, allocations: 146.4 kB / 1.181 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2898, allocations: 0 / 1.181 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.2899, allocations: 79.89 kB / 1.181 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.2905, allocations: 101.9 kB / 1.181 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.2947, allocations: 3.463 MB / 1.184 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.2951, allocations: 0.799 MB / 1.185 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.2953, allocations: 38.95 kB / 1.185 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.2954, allocations: 115.4 kB / 1.185 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.2954, allocations: 0 / 1.185 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.3227, allocations: 7.999 MB / 1.193 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.019, allocations: 11.23 kB / 1.193 GB, free: 11.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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