Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_9_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_9_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.001614/0.001614, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.001755/0.001755, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.429/1.429, 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.341/2.341, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 64.14 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.966/0.9675, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002856/0.9704, allocations: 1.489 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.9718, allocations: 0.8894 MB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.9719, allocations: 10.34 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.9721, allocations: 42.23 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.221e-05/0.9722, allocations: 17.92 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.9728, allocations: 201.1 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.9729, allocations: 47.42 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.9729, allocations: 3.922 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.973, allocations: 23.55 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.129e-05/0.973, allocations: 20.5 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.9731, allocations: 1.062 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.9735, allocations: 172.9 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.9735, allocations: 5.391 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.9735, allocations: 20.08 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.9738, allocations: 123.5 kB / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9738, allocations: 0 / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9739, allocations: 0 / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.9739, allocations: 0.6562 kB / 1.092 GB, free: 3.613 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003336/0.9742, allocations: 367.3 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9743, allocations: 9.406 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.9743, allocations: 82.47 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.9745, allocations: 263.4 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.9746, allocations: 154.9 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.9746, allocations: 151.9 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.951e-05/0.9747, allocations: 110.8 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.9747, allocations: 75.94 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.9747, allocations: 150.6 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.9747, allocations: 160.1 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.484e-05/0.9748, allocations: 151.3 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.975, allocations: 468.1 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.975, allocations: 170.6 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.9751, allocations: 92.95 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.9751, allocations: 79.27 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.9751, allocations: 111.5 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.9751, allocations: 1 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.575e-05/0.9752, allocations: 29.09 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.9753, allocations: 126.7 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.9754, allocations: 143 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.9754, allocations: 33.64 kB / 1.094 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.9755, allocations: 88.33 kB / 1.094 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.9755, allocations: 0.7188 kB / 1.094 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.9755, allocations: 18.42 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.9756, allocations: 318.8 kB / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.9756, allocations: 3.75 kB / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.9757, allocations: 2.828 kB / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.9757, allocations: 14.92 kB / 1.095 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9757, allocations: 4.031 kB / 1.095 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.9758, allocations: 48.5 kB / 1.095 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.9758, allocations: 6.391 kB / 1.095 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.9759, allocations: 1.156 kB / 1.095 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.9759, allocations: 1.328 kB / 1.095 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.9759, allocations: 7.875 kB / 1.095 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.9759, allocations: 0.5312 kB / 1.095 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.9759, allocations: 5 kB / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.9759, allocations: 1.906 kB / 1.095 GB, free: 16.16 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 (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.0001113/0.9761, allocations: 187.9 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.9761, allocations: 108.7 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/0.9762, allocations: 111.9 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.678e-05/0.9763, allocations: 185.9 kB / 1.095 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-05/0.9764, allocations: 178.5 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-05/0.9764, allocations: 185.5 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.9767, allocations: 418.5 kB / 1.096 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/0.9767, allocations: 101.7 kB / 1.096 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.9768, allocations: 114.3 kB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.671e-05/0.9768, allocations: 178.4 kB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.9769, allocations: 181.9 kB / 1.097 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.056e-05/0.977, allocations: 182.1 kB / 1.097 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.616e-05/0.9771, allocations: 181.9 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.9772, allocations: 307.4 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.9773, allocations: 193 kB / 1.098 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/0.9774, allocations: 181.9 kB / 1.098 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.9775, allocations: 110.6 kB / 1.098 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.9775, allocations: 178.1 kB / 1.098 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.9776, allocations: 103.9 kB / 1.098 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.311e-05/0.9777, allocations: 99.05 kB / 1.098 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9777, allocations: 0 / 1.098 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003193/0.978, allocations: 38.92 kB / 1.098 GB, free: 12.59 MB / 0.8731 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.0002817/0.9783, allocations: 222.2 kB / 1.098 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.9784, allocations: 37.52 kB / 1.099 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9784, allocations: 0 / 1.099 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.9784, allocations: 0.5938 kB / 1.099 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.9788, allocations: 459.4 kB / 1.099 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.9792, allocations: 263.5 kB / 1.099 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.9795, allocations: 0.6829 MB / 1.1 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.9795, allocations: 9.312 kB / 1.1 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9795, allocations: 0 / 1.1 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.00337/0.9829, allocations: 1.232 MB / 1.101 GB, free: 10.9 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches