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.001523/0.001523, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 197 kB / 16.53 MB, free: 6.664 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.563/2.563, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 71.88 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5905, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002667/0.5932, allocations: 1.473 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.5945, allocations: 0.8995 MB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.5946, allocations: 0 / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.5948, allocations: 51.75 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.79e-05/0.5949, allocations: 15.84 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.5954, allocations: 196.6 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.5955, allocations: 51.67 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.5956, allocations: 11.97 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.5957, allocations: 15.94 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.5957, allocations: 15.88 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.5957, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.596, allocations: 147.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.5961, allocations: 7.984 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.5961, allocations: 19.88 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.5963, allocations: 129.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5964, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5964, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.5964, allocations: 0 / 1.02 GB, free: 15.46 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.0004106/0.5968, allocations: 367.2 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5968, allocations: 8.031 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/0.5969, allocations: 84.06 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.5971, allocations: 261 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.5972, allocations: 154.9 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.5973, allocations: 150.9 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.819e-05/0.5973, allocations: 105.3 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.5974, allocations: 79.27 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.5974, allocations: 158.5 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.5975, allocations: 154.6 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.436e-05/0.5976, allocations: 150.6 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.5979, allocations: 465.9 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.598, allocations: 169.1 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.598, allocations: 84.14 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.5981, allocations: 79.22 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.5981, allocations: 109.8 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.5981, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.79e-05/0.5982, allocations: 33.61 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.5983, allocations: 130.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.5984, allocations: 131.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.5984, allocations: 25.7 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.5985, allocations: 100.1 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.5985, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.5985, allocations: 13.72 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5986, allocations: 322.8 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.5987, allocations: 3.938 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.5987, allocations: 15.97 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.5987, allocations: 12.89 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5987, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001157/0.5989, allocations: 53.53 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5989, allocations: 8 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.5989, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5989, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.5989, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.5989, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.599, allocations: 4 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.599, allocations: 0 / 1.024 GB, free: 11.86 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 9.208e-05/0.5991, allocations: 190.7 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.5991, allocations: 124.8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.5992, allocations: 108.9 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.228e-05/0.5993, allocations: 180.2 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.755e-05/0.5993, allocations: 180.3 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.17e-05/0.5994, allocations: 188.2 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.5996, allocations: 409.2 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.18e-05/0.5997, allocations: 109 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.5997, allocations: 112.9 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.348e-05/0.5998, allocations: 180.3 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.5998, allocations: 180.2 kB / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.995e-05/0.5999, allocations: 188.2 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.703e-05/0.6, allocations: 180.3 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.6001, allocations: 311.7 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.6002, allocations: 193.9 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.6002, allocations: 180.3 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.6003, allocations: 101 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.6004, allocations: 180.2 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.6004, allocations: 109 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.6005, allocations: 101.3 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6005, allocations: 0 / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002728/0.6008, allocations: 35.94 kB / 1.027 GB, free: 8.176 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.0002878/0.6011, allocations: 218.5 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.6012, allocations: 41.58 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6012, allocations: 0 / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.6012, allocations: 0 / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.6017, allocations: 478.5 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.602, allocations: 223 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.6023, allocations: 0.6924 MB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.6023, allocations: 4 kB / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.6023, allocations: 7.438 kB / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6023, allocations: 0 / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of Templates: time 0.003592/0.6059, allocations: 1.511 MB / 1.03 GB, free: 4.969 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