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.008032/0.008032, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.00197/0.00197, allocations: 195 kB / 16.67 MB, free: 5.934 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.09 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.459/2.459, allocations: 437 MB / 0.7105 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.7098, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004009/0.7139, allocations: 3.034 MB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.7165, allocations: 2.144 MB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.7167, allocations: 8 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.718, allocations: 0.4918 MB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.7183, allocations: 154.8 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.7184, allocations: 59.94 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.7189, allocations: 449.8 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.7191, allocations: 163.2 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.7193, allocations: 151.4 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.7195, allocations: 187.1 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.7196, allocations: 36 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-05/0.7197, allocations: 36 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.7198, allocations: 95.67 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.72, allocations: 218.9 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005/0.7205, allocations: 0.5447 MB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7205, allocations: 0 / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7205, allocations: 0 / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.7205, allocations: 4 kB / 1.174 GB, free: 12.09 MB / 0.9044 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.0009996/0.7215, allocations: 0.7198 MB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.7216, allocations: 8.922 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.7217, allocations: 48.66 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.7222, allocations: 378.5 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.7222, allocations: 16.81 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.7222, allocations: 20.38 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.7226, allocations: 207.5 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.7226, allocations: 0 / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.7227, allocations: 12 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.7227, allocations: 4 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.7231, allocations: 165.7 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.7242, allocations: 0.8625 MB / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.7245, allocations: 162.5 kB / 1.177 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.7247, allocations: 108.8 kB / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.7247, allocations: 0 / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.7248, allocations: 34.56 kB / 1.177 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.7248, allocations: 0 / 1.177 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0005719/0.7254, allocations: 268.3 kB / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.7254, allocations: 51.41 kB / 1.177 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.7258, allocations: 421.7 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.7259, allocations: 29.64 kB / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.726, allocations: 208.3 kB / 1.178 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.7261, allocations: 67.42 kB / 1.178 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.7261, allocations: 29.72 kB / 1.178 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7263, allocations: 350.8 kB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.7264, allocations: 55.97 kB / 1.178 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.7266, allocations: 62.19 kB / 1.178 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.7269, allocations: 127.1 kB / 1.178 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7269, allocations: 0 / 1.178 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003847/0.7273, allocations: 217.3 kB / 1.179 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.7273, allocations: 4 kB / 1.179 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7273, allocations: 0 / 1.179 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.7273, allocations: 11.92 kB / 1.179 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.7276, allocations: 51.91 kB / 1.179 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7276, allocations: 0 / 1.179 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.7277, allocations: 31.83 kB / 1.179 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.7278, allocations: 4 kB / 1.179 GB, free: 7.172 MB / 0.9044 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.0001556/0.7279, allocations: 165.8 kB / 1.179 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.728, allocations: 35.77 kB / 1.179 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/0.7281, allocations: 47.52 kB / 1.179 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7281, allocations: 0 / 1.179 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7281, allocations: 4 kB / 1.179 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7281, allocations: 0 / 1.179 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.7285, allocations: 373.4 kB / 1.179 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7285, allocations: 0 / 1.179 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.7288, allocations: 59.89 kB / 1.179 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7288, allocations: 4 kB / 1.179 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.7288, allocations: 7.938 kB / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7288, allocations: 0 / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7288, allocations: 0 / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.7294, allocations: 377.5 kB / 1.18 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.7295, allocations: 124.8 kB / 1.18 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.7296, allocations: 8 kB / 1.18 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.7297, allocations: 8 kB / 1.18 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.7298, allocations: 11.98 kB / 1.18 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.7298, allocations: 4 kB / 1.18 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003074/0.7301, allocations: 307.1 kB / 1.18 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7301, allocations: 0 / 1.18 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003011/0.7304, allocations: 75.89 kB / 1.18 GB, free: 5.5 MB / 0.9044 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.0001239/0.7306, allocations: 107.2 kB / 1.18 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.7309, allocations: 151.8 kB / 1.181 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7309, allocations: 0 / 1.181 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.7311, allocations: 79.91 kB / 1.181 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.7316, allocations: 101.8 kB / 1.181 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.7328, allocations: 0.7525 MB / 1.181 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.7332, allocations: 0.7989 MB / 1.182 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.7333, allocations: 34.95 kB / 1.182 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.7333, allocations: 27.42 kB / 1.182 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/0.7333, allocations: 0 / 1.182 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of Templates: time 0.007753/0.7411, allocations: 3.999 MB / 1.186 GB, free: 15.51 MB / 0.92 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/jenkins/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