Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 108.6 kB / 16.41 MB, free: 6.477 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.001436/0.001436, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8721/0.8734, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004293/0.8777, allocations: 3.044 MB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.8807, allocations: 2.148 MB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.881, allocations: 5.656 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.8826, allocations: 497 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.883, allocations: 155.8 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.8832, allocations: 60.91 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005364/0.8838, allocations: 442.2 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.884, allocations: 161.8 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.8843, allocations: 159.9 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.8846, allocations: 182.1 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.8846, allocations: 34.75 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.8847, allocations: 34.06 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.8849, allocations: 99.16 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.8851, allocations: 213.2 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00074/0.8858, allocations: 0.5432 MB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8859, allocations: 0.9375 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8859, allocations: 0.7969 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.8859, allocations: 4 kB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001049/0.8869, allocations: 0.6939 MB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.887, allocations: 8.844 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.267e-05/0.8871, allocations: 54.52 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006696/0.8878, allocations: 384.6 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.8878, allocations: 17.89 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.8879, allocations: 21.91 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.8883, allocations: 200.8 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.8883, allocations: 0 / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.8884, allocations: 9.344 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.8884, allocations: 6.391 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.8888, allocations: 168.5 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.8903, allocations: 0.8648 MB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.8906, allocations: 151.7 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.8909, allocations: 116.7 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.8909, allocations: 2.828 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.8909, allocations: 31.69 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.8909, allocations: 0 / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.0006682/0.8916, allocations: 259.8 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.8917, allocations: 59.22 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.8922, allocations: 413.1 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.8923, allocations: 30.73 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.8925, allocations: 207.9 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.8925, allocations: 63.55 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.8926, allocations: 30.69 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.8928, allocations: 347.3 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.893, allocations: 66.08 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.8931, allocations: 54.14 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.8935, allocations: 131.1 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.8935, allocations: 1.688 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000452/0.8939, allocations: 213.6 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.894, allocations: 5.359 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.894, allocations: 0.6562 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.894, allocations: 4.969 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.8943, allocations: 54.55 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8943, allocations: 4.969 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.8944, allocations: 21.31 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.8945, allocations: 3.156 kB / 1.101 GB, free: 13.53 MB / 0.8731 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001759/0.8946, allocations: 165.4 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.8947, allocations: 40.91 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.8948, allocations: 43.58 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.8948, allocations: 3.562 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8948, allocations: 0 / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.8949, allocations: 1.312 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.8954, allocations: 374.9 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8954, allocations: 0.7188 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.8957, allocations: 55.91 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.8957, allocations: 5.156 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.8957, allocations: 5.219 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.8957, allocations: 0.5625 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8958, allocations: 1.25 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.8964, allocations: 381 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8966, allocations: 119.2 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.8966, allocations: 9.391 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.8968, allocations: 11.14 kB / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.8969, allocations: 9.453 kB / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.8969, allocations: 7.219 kB / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000406/0.8973, allocations: 300.9 kB / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8973, allocations: 0 / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003318/0.8976, allocations: 72.12 kB / 1.102 GB, free: 12.51 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001507/0.8978, allocations: 111.3 kB / 1.102 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.8982, allocations: 149.2 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8982, allocations: 5.125 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.8984, allocations: 77.14 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.899, allocations: 103.7 kB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.9005, allocations: 0.7782 MB / 1.103 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.9011, allocations: 0.7978 MB / 1.104 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.819e-05/0.9012, allocations: 24.91 kB / 1.104 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/0.9012, allocations: 0.5312 kB / 1.104 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.008917/0.9101, allocations: 4.387 MB / 1.109 GB, free: 10.59 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches