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.001504/0.001504, 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.001893/0.001893, 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.584/2.584, allocations: 437 MB / 0.7099 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.84 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5355/0.5367, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002622/0.5393, allocations: 1.545 MB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.5407, allocations: 0.9313 MB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.5408, allocations: 4 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.541, allocations: 39.81 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.41e-05/0.541, allocations: 23.86 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.5415, allocations: 163.4 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.961e-05/0.5416, allocations: 47.73 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.5416, allocations: 19.91 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.5417, allocations: 19.91 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.705e-05/0.5418, allocations: 11.94 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.5418, allocations: 4 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.5421, allocations: 143.8 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.5421, allocations: 7.938 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.5421, allocations: 23.86 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.5423, allocations: 117.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5424, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5424, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.5424, allocations: 4 kB / 1.02 GB, free: 15.68 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.0003405/0.5427, allocations: 367.3 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5428, allocations: 8.031 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.5428, allocations: 84.12 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.543, allocations: 261.4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.5431, allocations: 150.9 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.5431, allocations: 154.9 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.792e-05/0.5432, allocations: 109.2 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.5432, allocations: 75.28 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.5433, allocations: 154.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.5433, allocations: 154.6 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.5434, allocations: 150.6 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.5436, allocations: 465.9 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.648e-05/0.5437, allocations: 177.1 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.5438, allocations: 80.14 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.5438, allocations: 75.28 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.5438, allocations: 113.8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5438, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.914e-05/0.5439, allocations: 33.61 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.544, allocations: 126.7 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5441, allocations: 133.8 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.5441, allocations: 29.64 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.5442, allocations: 99.97 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.5442, allocations: 4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.5442, allocations: 17.72 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.5443, allocations: 318.8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.5444, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.5444, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.5444, allocations: 16.86 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5444, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.5445, allocations: 49.62 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5446, allocations: 5.406 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.5446, allocations: 4.062 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.5446, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-06/0.5446, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.5446, allocations: 3.938 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.5446, allocations: 3.906 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.5447, allocations: 0 / 1.023 GB, free: 12.08 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 8.968e-05/0.5448, allocations: 185.1 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.5448, allocations: 104.9 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.5449, allocations: 124.8 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.006e-05/0.5449, allocations: 180.2 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.138e-05/0.545, allocations: 184.3 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.855e-05/0.5451, allocations: 180.2 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.5453, allocations: 417.2 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/0.5453, allocations: 105 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.5454, allocations: 108.9 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.639e-05/0.5454, allocations: 176.3 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.5455, allocations: 180.2 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.084e-05/0.5456, allocations: 184.2 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.298e-05/0.5456, allocations: 184.2 kB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.5457, allocations: 308 kB / 1.025 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.5458, allocations: 201.9 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.5459, allocations: 180.3 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.546, allocations: 104.9 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.5461, allocations: 184.3 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.5461, allocations: 101 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.568e-05/0.5462, allocations: 105 kB / 1.026 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5462, allocations: 0 / 1.026 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00027/0.5465, allocations: 39.94 kB / 1.026 GB, free: 8.395 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.0002888/0.5468, allocations: 222.4 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.5468, allocations: 41.7 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5469, allocations: 0 / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.5469, allocations: 7.938 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.5473, allocations: 0.5263 MB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.5477, allocations: 240.7 kB / 1.027 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.5479, allocations: 0.6809 MB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.5479, allocations: 4 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.206e-05/0.5479, allocations: 7.438 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.5479, allocations: 4 kB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of Templates: time 0.003869/0.5518, allocations: 1.489 MB / 1.029 GB, free: 5.121 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=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