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.001621/0.001621, allocations: 112.5 kB / 15.73 MB, free: 76 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.002295/0.002295, allocations: 191.8 kB / 16.67 MB, free: 6.543 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.394/2.394, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.06 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3248, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004835/0.3297, allocations: 3.043 MB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.3329, allocations: 2.141 MB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.3333, allocations: 4 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.3351, allocations: 0.4938 MB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.3356, allocations: 150.9 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.3358, allocations: 63.88 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.3365, allocations: 450.8 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.3368, allocations: 151 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.3371, allocations: 171.2 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.3375, allocations: 183.2 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.3376, allocations: 32 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.822e-05/0.3376, allocations: 36 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3378, allocations: 99.61 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.3381, allocations: 211 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.3387, allocations: 0.5486 MB / 1.096 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3387, allocations: 3.984 kB / 1.096 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3387, allocations: 0 / 1.096 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.3387, allocations: 0 / 1.096 GB, free: 9.688 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.001204/0.3399, allocations: 0.7083 MB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.34, allocations: 12.03 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.3401, allocations: 48.61 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.3408, allocations: 386.4 kB / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3408, allocations: 20.81 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.3409, allocations: 20.38 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.3413, allocations: 199.6 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3413, allocations: 0 / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.3414, allocations: 12 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3414, allocations: 4 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.3418, allocations: 169.6 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.3431, allocations: 0.8625 MB / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.3434, allocations: 150.6 kB / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.3436, allocations: 116.8 kB / 1.098 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3436, allocations: 7.938 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3437, allocations: 38.55 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.3437, allocations: 0 / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.000632/0.3443, allocations: 255.7 kB / 1.098 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.3443, allocations: 55.41 kB / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.3448, allocations: 417.7 kB / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3448, allocations: 29.7 kB / 1.099 GB, free: 6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.345, allocations: 204.4 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.3451, allocations: 63.44 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.3451, allocations: 37.7 kB / 1.099 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3453, allocations: 346.8 kB / 1.1 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.3454, allocations: 51.97 kB / 1.1 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.3456, allocations: 71.86 kB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3459, allocations: 130.4 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3459, allocations: 0 / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003863/0.3463, allocations: 207.4 kB / 1.1 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3463, allocations: 11.94 kB / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3463, allocations: 0 / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3463, allocations: 7.938 kB / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.3466, allocations: 55.91 kB / 1.1 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3466, allocations: 4 kB / 1.1 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3467, allocations: 15.88 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3468, allocations: 8 kB / 1.1 GB, free: 4.785 MB / 0.8575 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.0001611/0.3469, allocations: 161.8 kB / 1.1 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.347, allocations: 35.77 kB / 1.1 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/0.3471, allocations: 47.53 kB / 1.1 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3471, allocations: 4 kB / 1.1 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3471, allocations: 0 / 1.1 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3471, allocations: 3.938 kB / 1.1 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.3475, allocations: 377.3 kB / 1.101 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3476, allocations: 0 / 1.101 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.3478, allocations: 55.91 kB / 1.101 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3478, allocations: 0 / 1.101 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3478, allocations: 7.938 kB / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3479, allocations: 4 kB / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3479, allocations: 4 kB / 1.101 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.3485, allocations: 379.1 kB / 1.101 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3486, allocations: 124.8 kB / 1.101 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.3486, allocations: 7.938 kB / 1.101 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3488, allocations: 15.97 kB / 1.101 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.3489, allocations: 16.05 kB / 1.101 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.3489, allocations: 4 kB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003308/0.3492, allocations: 299.2 kB / 1.102 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3492, allocations: 0 / 1.102 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003106/0.3496, allocations: 71.89 kB / 1.102 GB, free: 3.098 MB / 0.8575 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.0001474/0.3497, allocations: 111.2 kB / 1.102 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.3501, allocations: 150.4 kB / 1.102 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3501, allocations: 0 / 1.102 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3503, allocations: 79.89 kB / 1.102 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.3508, allocations: 98.52 kB / 1.102 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3521, allocations: 0.7487 MB / 1.103 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3525, allocations: 0.8067 MB / 1.104 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.3526, allocations: 42.84 kB / 1.104 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.3527, allocations: 23.44 kB / 1.104 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3527, allocations: 0 / 1.104 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of Templates: time 0.008281/0.361, allocations: 3.992 MB / 1.108 GB, free: 13.11 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/jenkins/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