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.001327/0.001327, allocations: 112.5 kB / 16.42 MB, free: 6.453 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.001396/0.001396, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.504/1.504, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.553/2.553, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 63.91 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8201, allocations: 151.6 MB / 1.167 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004609/0.8247, allocations: 3.051 MB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003034/0.8278, allocations: 2.144 MB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.8281, allocations: 4 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.8297, allocations: 0.4948 MB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.8301, allocations: 150.8 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.8303, allocations: 71.92 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006021/0.8309, allocations: 447.3 kB / 1.174 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.8312, allocations: 155.2 kB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.8315, allocations: 155.4 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.8317, allocations: 183.1 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.961e-05/0.8318, allocations: 32 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.8319, allocations: 36 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.832, allocations: 103.6 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.8323, allocations: 215 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.8329, allocations: 0.5486 MB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8329, allocations: 0 / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8329, allocations: 0 / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.8329, allocations: 0 / 1.175 GB, free: 12.18 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.001115/0.834, allocations: 0.7237 MB / 1.176 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8341, allocations: 8.922 kB / 1.176 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.583e-05/0.8342, allocations: 48.66 kB / 1.176 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.8348, allocations: 378.4 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.8348, allocations: 16.81 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.8348, allocations: 20.38 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.8352, allocations: 203.6 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.8353, allocations: 3.984 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.8353, allocations: 12 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.8353, allocations: 4 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.8357, allocations: 169.6 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.837, allocations: 0.8625 MB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.8374, allocations: 154.5 kB / 1.177 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.8377, allocations: 112.8 kB / 1.178 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.8377, allocations: 0 / 1.178 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.8378, allocations: 38.56 kB / 1.178 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.8378, allocations: 0 / 1.178 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0006557/0.8384, allocations: 257.5 kB / 1.178 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.8385, allocations: 51.41 kB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.839, allocations: 413.7 kB / 1.178 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.839, allocations: 29.7 kB / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.8391, allocations: 220.3 kB / 1.179 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.8392, allocations: 63.44 kB / 1.179 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.8393, allocations: 37.64 kB / 1.179 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8394, allocations: 346.8 kB / 1.179 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.8396, allocations: 55.97 kB / 1.179 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.8397, allocations: 57.69 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.84, allocations: 135.2 kB / 1.179 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.84, allocations: 0 / 1.179 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003957/0.8404, allocations: 209.4 kB / 1.179 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8405, allocations: 4 kB / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8405, allocations: 0 / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.8405, allocations: 7.938 kB / 1.179 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.8408, allocations: 59.83 kB / 1.179 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8408, allocations: 0 / 1.179 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.841, allocations: 27.84 kB / 1.179 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.841, allocations: 8 kB / 1.179 GB, free: 7.266 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.0001641/0.8411, allocations: 165.8 kB / 1.18 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.8412, allocations: 35.77 kB / 1.18 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.8413, allocations: 39.59 kB / 1.18 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.8413, allocations: 7.922 kB / 1.18 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8413, allocations: 0 / 1.18 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.8414, allocations: 116.9 kB / 1.18 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.8415, allocations: 8 kB / 1.18 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.8416, allocations: 8 kB / 1.18 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.8417, allocations: 11.98 kB / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006339/0.8423, allocations: 294.9 kB / 1.18 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006359/0.843, allocations: 470.2 kB / 1.181 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001696/0.8432, allocations: 74.8 kB / 1.181 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003327/0.8435, allocations: 299.2 kB / 1.181 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of Backend: time 6.71e-07/0.8435, allocations: 0 / 1.181 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.8441, allocations: 176.8 kB / 1.181 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001539/0.8456, allocations: 1.257 MB / 1.182 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of Templates: time 0.00935/0.855, allocations: 4.333 MB / 1.187 GB, free: 12 kB / 0.9044 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