Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007912/0.007913, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002119/0.002119, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.585/2.585, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2763, allocations: 151.6 MB / 1.167 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002324/0.2786, allocations: 1.477 MB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2799, allocations: 0.9073 MB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.28, allocations: 4 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.2802, allocations: 43.75 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.2802, allocations: 19.86 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.2808, allocations: 198.1 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.2809, allocations: 43.73 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.2809, allocations: 11.98 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/0.281, allocations: 23.86 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.927e-05/0.281, allocations: 15.94 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.281, allocations: 0 / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.2814, allocations: 171.7 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.2814, allocations: 7.938 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.2815, allocations: 19.88 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.2817, allocations: 123.5 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2817, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2817, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2817, allocations: 4 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003552/0.2821, allocations: 367.1 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2821, allocations: 12.03 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.2822, allocations: 80.17 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.2824, allocations: 267.5 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.2825, allocations: 154.9 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.2825, allocations: 162.9 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.66e-05/0.2826, allocations: 105.3 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.2826, allocations: 75.28 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.2827, allocations: 154.5 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/0.2827, allocations: 150.6 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/0.2828, allocations: 158.6 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.2831, allocations: 457.9 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.161e-05/0.2832, allocations: 169.1 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.2832, allocations: 88.08 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.2832, allocations: 79.22 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.2833, allocations: 117.8 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.2833, allocations: 0 / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.144e-05/0.2834, allocations: 33.66 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.2834, allocations: 126.7 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.2836, allocations: 131.4 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2836, allocations: 25.7 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.2836, allocations: 96.09 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.2836, allocations: 4 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.2837, allocations: 17.7 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2838, allocations: 318.8 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.2838, allocations: 0 / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/0.2838, allocations: 11.92 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.2839, allocations: 12.86 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2839, allocations: 0 / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000107/0.284, allocations: 45.64 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.284, allocations: 12.06 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.284, allocations: 3.984 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2841, allocations: 4 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.2841, allocations: 0 / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2841, allocations: 0 / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.2841, allocations: 11.89 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2841, allocations: 0 / 1.173 GB, free: 72 kB / 0.92 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000106/0.2842, allocations: 181.8 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.2843, allocations: 116.9 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.2844, allocations: 116.8 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.967e-05/0.2844, allocations: 188.2 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.812e-05/0.2845, allocations: 176.3 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.991e-05/0.2845, allocations: 176.3 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.2848, allocations: 417.2 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.863e-05/0.2848, allocations: 109 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.2849, allocations: 112.9 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.547e-05/0.2849, allocations: 176.3 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/0.285, allocations: 176.3 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-05/0.285, allocations: 184.2 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.203e-05/0.2851, allocations: 180.3 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.2852, allocations: 311.7 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.2853, allocations: 193.9 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.2854, allocations: 184.2 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.2855, allocations: 101 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.2856, allocations: 188.2 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.2856, allocations: 108.9 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.42e-05/0.2857, allocations: 105.5 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2857, allocations: 0 / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002808/0.286, allocations: 35.86 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0002679/0.2862, allocations: 210.4 kB / 1.176 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.762e-05/0.2863, allocations: 49.62 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2863, allocations: 0 / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.2863, allocations: 0 / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.2867, allocations: 467.7 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.287, allocations: 234.7 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2873, allocations: 0.6846 MB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.2873, allocations: 0 / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.2873, allocations: 11.44 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.2873, allocations: 0 / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.003631/0.291, allocations: 1.508 MB / 1.179 GB, free: 9.188 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches