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.001811/0.001811, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002074/0.002074, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.704/2.704, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.03 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5432, allocations: 151.6 MB / 1.017 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002701/0.5459, allocations: 1.539 MB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.5473, allocations: 0.9347 MB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.5474, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.5476, allocations: 51.7 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.156e-05/0.5477, allocations: 19.91 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.5481, allocations: 170.7 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.609e-05/0.5482, allocations: 43.73 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.5483, allocations: 11.97 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.269e-05/0.5483, allocations: 27.86 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.5484, allocations: 15.88 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.5484, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.5487, allocations: 143.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.5487, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.5488, allocations: 19.86 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.549, allocations: 125.6 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.549, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.51e-07/0.549, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.549, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 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.0003964/0.5494, allocations: 375.3 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.5495, allocations: 12.03 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.5495, allocations: 80.12 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.5498, allocations: 257.2 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.5498, allocations: 150.9 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.991e-05/0.5499, allocations: 154.9 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.075e-05/0.55, allocations: 109.3 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.55, allocations: 79.28 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.5501, allocations: 154.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.82e-05/0.5502, allocations: 150.6 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.517e-05/0.5503, allocations: 150.6 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.5506, allocations: 469.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.5507, allocations: 169.1 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.5508, allocations: 84.14 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.5508, allocations: 75.28 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.5509, allocations: 113.8 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 3.176e-06/0.5509, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.644e-05/0.551, allocations: 45.48 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.551, allocations: 126.7 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.5512, allocations: 125.8 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.5512, allocations: 25.7 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.5513, allocations: 100 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.5513, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.5513, allocations: 21.66 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5515, allocations: 322.8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.5515, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.5515, allocations: 8 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.5516, allocations: 8.859 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5516, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001196/0.5517, allocations: 53.56 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5517, allocations: 10.34 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.5517, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.5518, allocations: 4.062 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.5518, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.5518, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.5518, allocations: 7.906 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.5518, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 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.0001187/0.5519, allocations: 185.7 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.552, allocations: 108.9 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.5521, allocations: 116.8 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-05/0.5522, allocations: 180.3 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.88e-05/0.5523, allocations: 188.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-05/0.5524, allocations: 176.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.5527, allocations: 413.2 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-05/0.5527, allocations: 104.9 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.5528, allocations: 112.9 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.941e-05/0.5529, allocations: 184.2 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.233e-05/0.553, allocations: 176.3 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-05/0.553, allocations: 184.2 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.221e-05/0.5531, allocations: 180.3 kB / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.5533, allocations: 316 kB / 1.025 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5534, allocations: 189.9 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/0.5535, allocations: 188.2 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.5536, allocations: 104.9 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.5537, allocations: 176.3 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.5538, allocations: 112.9 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.139e-05/0.5538, allocations: 103.2 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5538, allocations: 0 / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002757/0.5541, allocations: 35.94 kB / 1.026 GB, free: 8.508 MB / 0.7794 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.0003031/0.5544, allocations: 214.5 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.5545, allocations: 41.7 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5545, allocations: 0 / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.5546, allocations: 4.062 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.5551, allocations: 0.534 MB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.5555, allocations: 236.7 kB / 1.027 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.5558, allocations: 0.6809 MB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.5558, allocations: 0 / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.5559, allocations: 11.44 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.5559, allocations: 0 / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of Templates: time 0.004236/0.5601, allocations: 1.5 MB / 1.029 GB, free: 5.234 MB / 0.7794 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=400 -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