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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009782/0.0009782, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001071/0.001071, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003069, allocations: 11.98 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5718/0.5721, allocations: 153.8 MB / 1.022 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001547/0.5737, allocations: 1.183 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.575, allocations: 0.8386 MB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.575, allocations: 7.938 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.5752, allocations: 31.84 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.055e-05/0.5752, allocations: 15.84 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.5757, allocations: 167.4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.5758, allocations: 55.67 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.5758, allocations: 7.969 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.5759, allocations: 19.92 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.036e-05/0.5759, allocations: 11.88 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.5759, allocations: 4 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.5762, allocations: 143.8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.5762, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.5763, allocations: 33.64 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.5764, allocations: 81.77 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5764, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5764, allocations: 4 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.5764, allocations: 0 / 1.025 GB, free: 13.39 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.0003131/0.5768, allocations: 367.1 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.5768, allocations: 8.031 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.5769, allocations: 83.19 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.577, allocations: 256.4 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.5771, allocations: 154.6 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.5772, allocations: 154.6 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.548e-05/0.5772, allocations: 112.8 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.5773, allocations: 75.28 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.5773, allocations: 158.5 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.5774, allocations: 150.6 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.5774, allocations: 162.6 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.5777, allocations: 457.9 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.83e-05/0.5778, allocations: 177.1 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.5778, allocations: 80.14 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.5779, allocations: 75.28 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.5779, allocations: 113.8 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5779, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.206e-05/0.578, allocations: 33.61 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.578, allocations: 130.6 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5782, allocations: 130 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.5782, allocations: 25.7 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.5782, allocations: 96.12 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.5782, allocations: 4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-06/0.5783, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5784, allocations: 314.8 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.5784, allocations: 4 kB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.5784, allocations: 4 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.5784, allocations: 11.98 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5785, allocations: 0 / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/0.5786, allocations: 41.61 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.5786, allocations: 4 kB / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.5786, allocations: 12.02 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.5786, allocations: 0 / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.5786, allocations: 0 / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5786, allocations: 3.938 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.5787, allocations: 3.984 kB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5787, allocations: 0 / 1.028 GB, free: 9.828 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.601e-05/0.5788, allocations: 193.1 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.5788, allocations: 108.9 kB / 1.028 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.5789, allocations: 108.9 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.446e-05/0.579, allocations: 196.1 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.044e-05/0.579, allocations: 176.3 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/0.5791, allocations: 180.2 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.5793, allocations: 413.2 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/0.5793, allocations: 108.9 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.5794, allocations: 112.9 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.516e-05/0.5794, allocations: 176.3 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.5795, allocations: 192.2 kB / 1.03 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.632e-05/0.5796, allocations: 180.2 kB / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-05/0.5796, allocations: 184.2 kB / 1.03 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.5798, allocations: 320 kB / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.5798, allocations: 186.1 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.5799, allocations: 176.3 kB / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.58, allocations: 109 kB / 1.031 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.5801, allocations: 192.2 kB / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.5801, allocations: 101 kB / 1.031 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.5802, allocations: 101.4 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5802, allocations: 0 / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002653/0.5804, allocations: 35.94 kB / 1.032 GB, free: 6.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002501/0.5807, allocations: 210.5 kB / 1.032 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.226e-05/0.5808, allocations: 37.64 kB / 1.032 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5808, allocations: 4.062 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.5808, allocations: 7.984 kB / 1.032 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.5812, allocations: 0.5246 MB / 1.032 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.5815, allocations: 239.8 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5818, allocations: 0.6809 MB / 1.033 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.5818, allocations: 4.234 kB / 1.033 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.5818, allocations: 11.44 kB / 1.033 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5818, allocations: 7.938 kB / 1.033 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.003631/0.5854, allocations: 1.449 MB / 1.035 GB, free: 2.906 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