Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001734/0.001734, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.00185/0.00185, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.532/1.532, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 69.58 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3299, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005348/0.3353, allocations: 3.047 MB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003482/0.3389, allocations: 2.149 MB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004337/0.3393, allocations: 4 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.3413, allocations: 0.4899 MB / 1.024 GB, free: 4.93 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005822/0.3419, allocations: 146.9 kB / 1.024 GB, free: 4.785 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.3422, allocations: 67.88 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007496/0.3429, allocations: 443 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.3433, allocations: 143.2 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.3436, allocations: 167.3 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.344, allocations: 179.1 kB / 1.025 GB, free: 3.801 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.344, allocations: 40 kB / 1.025 GB, free: 3.762 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3442, allocations: 32 kB / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3443, allocations: 95.67 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.3446, allocations: 222.9 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.3451, allocations: 0.5449 MB / 1.026 GB, free: 2.871 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3451, allocations: 0 / 1.026 GB, free: 2.871 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3452, allocations: 0 / 1.026 GB, free: 2.871 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.3452, allocations: 0 / 1.026 GB, free: 2.871 MB / 0.795 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.00129/0.3465, allocations: 0.7006 MB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.3465, allocations: 8.922 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.3466, allocations: 48.38 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.3472, allocations: 370.1 kB / 1.027 GB, free: 1.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3472, allocations: 12.81 kB / 1.027 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.3473, allocations: 24.28 kB / 1.027 GB, free: 1.625 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.3477, allocations: 211.6 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3477, allocations: 0 / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.3478, allocations: 8 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/0.3478, allocations: 4 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.3482, allocations: 169.6 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.3496, allocations: 0.8623 MB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.35, allocations: 166.5 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.3502, allocations: 115.3 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.3502, allocations: 0 / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.3503, allocations: 42.5 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.3503, allocations: 0 / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0006247/0.3509, allocations: 256.4 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.351, allocations: 51.41 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.3515, allocations: 421.7 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3515, allocations: 25.7 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3516, allocations: 208.2 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.3517, allocations: 63.09 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.3518, allocations: 33.72 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3519, allocations: 350.8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3521, allocations: 51.97 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3522, allocations: 59.95 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.3525, allocations: 134.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3525, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003817/0.3529, allocations: 209.1 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.353, allocations: 4 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.353, allocations: 3.984 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.353, allocations: 7.938 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.3533, allocations: 51.91 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3533, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3534, allocations: 23.83 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3535, allocations: 4 kB / 1.03 GB, free: 14 MB / 0.8106 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.0001582/0.3536, allocations: 161.8 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.3537, allocations: 39.52 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.576e-05/0.3538, allocations: 47.52 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3538, allocations: 4 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3538, allocations: 0 / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3538, allocations: 0 / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.3542, allocations: 377.3 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3542, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.3545, allocations: 59.83 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3545, allocations: 8 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3545, allocations: 7.938 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3545, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3545, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.3551, allocations: 384.2 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3552, allocations: 120.7 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.3553, allocations: 11.94 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3555, allocations: 4 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.3555, allocations: 15.98 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3555, allocations: 0 / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000313/0.3559, allocations: 307.1 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3559, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003108/0.3562, allocations: 71.84 kB / 1.032 GB, free: 12.32 MB / 0.8106 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.000166/0.3563, allocations: 111.2 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.3568, allocations: 147.9 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3568, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.357, allocations: 83.81 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.3576, allocations: 102.2 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3589, allocations: 0.7904 MB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.3593, allocations: 0.799 MB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.3594, allocations: 23.44 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/0.3594, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of Templates: time 0.007207/0.3666, allocations: 4.354 MB / 1.038 GB, free: 5.895 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches