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.00193/0.00193, allocations: 106.4 kB / 16.41 MB, free: 5.977 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.002124/0.002124, allocations: 186 kB / 17.34 MB, free: 5.586 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.08 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.473/2.473, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 59.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9918/0.9935, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005099/0.9987, allocations: 3.037 MB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003298/1.002, allocations: 2.156 MB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/1.002, allocations: 7.938 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/1.004, allocations: 495.5 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005489/1.005, allocations: 158.9 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/1.005, allocations: 55.95 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006584/1.006, allocations: 455.3 kB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/1.006, allocations: 147.2 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/1.006, allocations: 163.4 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/1.007, allocations: 179.1 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/1.007, allocations: 35.98 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/1.007, allocations: 36 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/1.007, allocations: 95.67 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/1.007, allocations: 218.8 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005584/1.008, allocations: 0.545 MB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.008, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.216e-06/1.008, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.008, allocations: 4 kB / 1.175 GB, free: 12.07 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.001254/1.009, allocations: 0.7006 MB / 1.176 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.009, allocations: 12.62 kB / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/1.009, allocations: 44.38 kB / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/1.01, allocations: 386 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/1.01, allocations: 12.81 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/1.01, allocations: 24.38 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/1.01, allocations: 199.6 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/1.01, allocations: 4 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/1.01, allocations: 4 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/1.01, allocations: 4 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/1.011, allocations: 173.6 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/1.012, allocations: 0.8661 MB / 1.177 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/1.012, allocations: 162.5 kB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/1.013, allocations: 111.6 kB / 1.178 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/1.013, allocations: 0 / 1.178 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.013, allocations: 42.5 kB / 1.178 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/1.013, allocations: 0 / 1.178 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0006221/1.013, allocations: 257.3 kB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.013, allocations: 51.41 kB / 1.178 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/1.014, allocations: 417.7 kB / 1.178 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/1.014, allocations: 29.64 kB / 1.178 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/1.014, allocations: 208.2 kB / 1.178 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/1.014, allocations: 59.11 kB / 1.179 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/1.014, allocations: 37.7 kB / 1.179 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.014, allocations: 342.8 kB / 1.179 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/1.015, allocations: 63.92 kB / 1.179 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/1.015, allocations: 55.97 kB / 1.179 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/1.015, allocations: 138.8 kB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.015, allocations: 0 / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003889/1.015, allocations: 207.4 kB / 1.179 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.015, allocations: 12 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.015, allocations: 0 / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/1.015, allocations: 3.938 kB / 1.179 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/1.016, allocations: 51.91 kB / 1.179 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.016, allocations: 4 kB / 1.179 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/1.016, allocations: 19.83 kB / 1.179 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/1.016, allocations: 4 kB / 1.179 GB, free: 7.18 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.0001597/1.016, allocations: 165.8 kB / 1.18 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/1.016, allocations: 39.53 kB / 1.18 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-05/1.016, allocations: 43.53 kB / 1.18 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.016, allocations: 4 kB / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.016, allocations: 0 / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.016, allocations: 3.984 kB / 1.18 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/1.017, allocations: 381.2 kB / 1.18 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.017, allocations: 0 / 1.18 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/1.017, allocations: 55.91 kB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.017, allocations: 0 / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/1.017, allocations: 11.94 kB / 1.18 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.017, allocations: 0 / 1.18 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.017, allocations: 3.984 kB / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/1.018, allocations: 373.1 kB / 1.18 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.018, allocations: 116.7 kB / 1.181 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/1.018, allocations: 7.938 kB / 1.181 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/1.018, allocations: 12.05 kB / 1.181 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/1.018, allocations: 15.98 kB / 1.181 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/1.018, allocations: 8 kB / 1.181 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003434/1.018, allocations: 307.1 kB / 1.181 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.11e-07/1.018, allocations: 0 / 1.181 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003056/1.019, allocations: 71.84 kB / 1.181 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.000146/1.019, allocations: 103.2 kB / 1.181 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003573/1.019, allocations: 151.8 kB / 1.181 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.019, allocations: 0 / 1.181 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/1.019, allocations: 79.89 kB / 1.181 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/1.02, allocations: 93.44 kB / 1.181 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/1.021, allocations: 0.7824 MB / 1.182 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/1.022, allocations: 0.7951 MB / 1.183 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/1.022, allocations: 23.44 kB / 1.183 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/1.022, allocations: 0 / 1.183 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of Templates: time 0.007857/1.03, allocations: 4.39 MB / 1.187 GB, free: 15.07 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/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