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.006691/0.006691, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.0014/0.0014, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.383/2.383, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 71.23 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3037, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004931/0.3086, allocations: 3.04 MB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.312, allocations: 2.137 MB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.3125, allocations: 4 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.3145, allocations: 0.5024 MB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.315, allocations: 150.8 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.3153, allocations: 59.94 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000696/0.316, allocations: 452.5 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.3163, allocations: 155 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.3166, allocations: 159.3 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.3169, allocations: 179.2 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.317, allocations: 36 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.3171, allocations: 36 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.3172, allocations: 99.61 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.3175, allocations: 218.9 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.318, allocations: 0.545 MB / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3181, allocations: 4 kB / 1.096 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3181, allocations: 0 / 1.096 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.3181, allocations: 0 / 1.096 GB, free: 9.645 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.001167/0.3193, allocations: 0.6967 MB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3193, allocations: 11.97 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.657e-05/0.3194, allocations: 44.38 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/0.32, allocations: 378.1 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.32, allocations: 16.81 kB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.3201, allocations: 24.38 kB / 1.097 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.3205, allocations: 207.6 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3205, allocations: 3.938 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3205, allocations: 8 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3205, allocations: 4 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.3209, allocations: 165.6 kB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3222, allocations: 0.8623 MB / 1.098 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.3225, allocations: 156.2 kB / 1.098 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.3227, allocations: 124.1 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3228, allocations: 4 kB / 1.098 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3228, allocations: 30.56 kB / 1.098 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 3.266e-06/0.3228, allocations: 3.984 kB / 1.098 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0006085/0.3234, allocations: 249.4 kB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3235, allocations: 55.41 kB / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.324, allocations: 421.7 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.324, allocations: 29.7 kB / 1.099 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3242, allocations: 204.2 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.3242, allocations: 63.03 kB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.3243, allocations: 37.66 kB / 1.099 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3245, allocations: 346.8 kB / 1.1 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3246, allocations: 55.97 kB / 1.1 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.3248, allocations: 59.97 kB / 1.1 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.325, allocations: 134.9 kB / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3251, allocations: 0 / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003906/0.3255, allocations: 202.8 kB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3255, allocations: 9.875 kB / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3255, allocations: 0 / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3255, allocations: 7.938 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.3258, allocations: 59.89 kB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3258, allocations: 4 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.3259, allocations: 11.84 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.326, allocations: 8 kB / 1.1 GB, free: 4.773 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.0001579/0.3261, allocations: 165.8 kB / 1.1 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.3262, allocations: 35.53 kB / 1.1 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.141e-05/0.3263, allocations: 43.53 kB / 1.1 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3263, allocations: 11.98 kB / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3263, allocations: 0 / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3263, allocations: 0 / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.3267, allocations: 369.4 kB / 1.101 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.3268, allocations: 0 / 1.101 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.327, allocations: 59.89 kB / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.327, allocations: 0 / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3271, allocations: 7.938 kB / 1.101 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3271, allocations: 4 kB / 1.101 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3271, allocations: 3.938 kB / 1.101 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.3277, allocations: 378.9 kB / 1.101 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3278, allocations: 116.6 kB / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.3278, allocations: 11.94 kB / 1.101 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.328, allocations: 11.98 kB / 1.101 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.3281, allocations: 8.047 kB / 1.101 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.3281, allocations: 8 kB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003415/0.3284, allocations: 307.1 kB / 1.102 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3284, allocations: 0 / 1.102 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003196/0.3287, allocations: 71.84 kB / 1.102 GB, free: 3.09 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.0001526/0.3289, allocations: 107.2 kB / 1.102 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.3293, allocations: 145.5 kB / 1.102 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3293, allocations: 4 kB / 1.102 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.3295, allocations: 75.91 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.0005501/0.33, allocations: 96.36 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.001384/0.3314, allocations: 0.7497 MB / 1.103 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.3318, allocations: 0.7989 MB / 1.104 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.3319, allocations: 34.97 kB / 1.104 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.332, allocations: 23.44 kB / 1.104 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.332, allocations: 0 / 1.104 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of Templates: time 0.008768/0.3408, allocations: 4.01 MB / 1.107 GB, free: 13.12 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