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.005841/0.005841, allocations: 102 kB / 15.73 MB, free: 6.051 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.00135/0.00135, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.23/2.23, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.8258, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003179/0.829, allocations: 1.482 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.8304, allocations: 0.9007 MB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.8304, allocations: 1.5 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.8307, allocations: 38.64 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.927e-05/0.8307, allocations: 22.02 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.8313, allocations: 192.5 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.8314, allocations: 51.67 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.8315, allocations: 3.875 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.8316, allocations: 24.84 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.8316, allocations: 23.47 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.8317, allocations: 1.219 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.8321, allocations: 169.2 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.8321, allocations: 5.859 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.8322, allocations: 20.08 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.8325, allocations: 122.6 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8325, allocations: 1.094 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8325, allocations: 0 / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8325, allocations: 0 / 1.091 GB, free: 3.605 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.0003624/0.8329, allocations: 363.4 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.8329, allocations: 9.5 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.833, allocations: 91.09 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.8332, allocations: 258.4 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.8333, allocations: 155.9 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.8333, allocations: 151.8 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.159e-05/0.8334, allocations: 106.8 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.8334, allocations: 75.28 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.8334, allocations: 163.4 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.8335, allocations: 151.4 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.8335, allocations: 151.8 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.8337, allocations: 476 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.8338, allocations: 170 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.8338, allocations: 86 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.8338, allocations: 79.27 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.8339, allocations: 111.5 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.8339, allocations: 0 / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.374e-05/0.8339, allocations: 32.64 kB / 1.093 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.834, allocations: 136.3 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.8341, allocations: 137.4 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.8342, allocations: 26.52 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.8342, allocations: 92.25 kB / 1.094 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.8342, allocations: 0.875 kB / 1.094 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.8342, allocations: 15.16 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.8344, allocations: 318.9 kB / 1.094 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.8344, allocations: 7.219 kB / 1.094 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.8344, allocations: 7.312 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.8345, allocations: 10.48 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8345, allocations: 0 / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001249/0.8346, allocations: 51.69 kB / 1.094 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8346, allocations: 6.141 kB / 1.094 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.8346, allocations: 2.172 kB / 1.094 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.8347, allocations: 0.7812 kB / 1.094 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.8347, allocations: 3.938 kB / 1.094 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.8347, allocations: 1.328 kB / 1.094 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.8347, allocations: 8.781 kB / 1.094 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.8347, allocations: 0.8125 kB / 1.094 GB, free: 16.15 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.0001235/0.8349, allocations: 188.8 kB / 1.094 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.8349, allocations: 109 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.835, allocations: 112.3 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.683e-05/0.8351, allocations: 177.8 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.554e-05/0.8352, allocations: 186.3 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.622e-05/0.8352, allocations: 185.6 kB / 1.095 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.8355, allocations: 409.1 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.043e-05/0.8356, allocations: 110.4 kB / 1.096 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.8356, allocations: 107.1 kB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.949e-05/0.8357, allocations: 185.8 kB / 1.096 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.8358, allocations: 181.7 kB / 1.096 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.446e-05/0.8359, allocations: 178.5 kB / 1.096 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.724e-05/0.8359, allocations: 181.8 kB / 1.096 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.8361, allocations: 311 kB / 1.097 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.789e-05/0.8362, allocations: 192.9 kB / 1.097 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.8363, allocations: 178.4 kB / 1.097 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.8364, allocations: 106.4 kB / 1.097 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.8364, allocations: 178.6 kB / 1.097 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.8365, allocations: 110.5 kB / 1.097 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.373e-05/0.8366, allocations: 104.1 kB / 1.098 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8366, allocations: 4 kB / 1.098 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000333/0.8369, allocations: 34.27 kB / 1.098 GB, free: 12.57 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.0003196/0.8372, allocations: 214.7 kB / 1.098 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.8374, allocations: 36.86 kB / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8374, allocations: 0.5625 kB / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.8374, allocations: 1 kB / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.8378, allocations: 473.4 kB / 1.098 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.8382, allocations: 231.2 kB / 1.098 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.8385, allocations: 0.683 MB / 1.099 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.8385, allocations: 6.391 kB / 1.099 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.8386, allocations: 9.562 kB / 1.099 GB, free: 11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8386, allocations: 0 / 1.099 GB, free: 11 MB / 0.8731 GB Notification: Performance of Templates: time 0.005647/0.8442, allocations: 1.51 MB / 1.101 GB, free: 10.88 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/jenkins/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