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.001175/0.001175, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001237/0.001237, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 71.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8131, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004493/0.8176, allocations: 3.041 MB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.8205, allocations: 2.153 MB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.8207, allocations: 9.031 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.8222, allocations: 496.2 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.8225, allocations: 157.3 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.8227, allocations: 56.86 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.8233, allocations: 445.7 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.8236, allocations: 161.4 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.8238, allocations: 156 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.824, allocations: 182.4 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/0.8241, allocations: 34.72 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.8242, allocations: 38.59 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.8243, allocations: 98.81 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.8246, allocations: 214.2 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006664/0.8252, allocations: 0.5428 MB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.8252, allocations: 0 / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8252, allocations: 0.875 kB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.8253, allocations: 0 / 1.096 GB, free: 0.5977 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.00104/0.8263, allocations: 0.7059 MB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.8264, allocations: 8.812 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.8265, allocations: 50.08 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.8271, allocations: 372.1 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.8271, allocations: 18.02 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.8272, allocations: 21.97 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.8277, allocations: 204 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.8277, allocations: 0.9375 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.8277, allocations: 10.61 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.8278, allocations: 5.281 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.8282, allocations: 169.1 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.8297, allocations: 0.8648 MB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.83, allocations: 155.5 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.8303, allocations: 111.5 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.8303, allocations: 6.219 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.8303, allocations: 33.5 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/0.8303, allocations: 0 / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.0006511/0.831, allocations: 259.5 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.831, allocations: 53.75 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.8316, allocations: 413.6 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.8317, allocations: 34.67 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.8318, allocations: 211.5 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.8319, allocations: 64.31 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.832, allocations: 30.59 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.8321, allocations: 348 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.8323, allocations: 61.14 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.8325, allocations: 54.64 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.8328, allocations: 136 kB / 1.1 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8328, allocations: 1 kB / 1.1 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004341/0.8332, allocations: 206.6 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.8333, allocations: 6.719 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8333, allocations: 3.938 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.8333, allocations: 4.688 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.8336, allocations: 58.77 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.8336, allocations: 1.531 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.8338, allocations: 24.14 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.8338, allocations: 4.219 kB / 1.101 GB, free: 13.52 MB / 0.8731 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.0001803/0.834, allocations: 160.4 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.834, allocations: 41.88 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.408e-05/0.8341, allocations: 40.59 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8341, allocations: 4.906 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.8341, allocations: 4 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.8343, allocations: 115.4 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.8343, allocations: 5.984 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.8345, allocations: 10.72 kB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.8346, allocations: 8.953 kB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006944/0.8353, allocations: 290.5 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007266/0.836, allocations: 468.5 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001872/0.8362, allocations: 72.42 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004017/0.8366, allocations: 301.3 kB / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of Backend: time 5.81e-07/0.8366, allocations: 0 / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005919/0.8372, allocations: 171.9 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00177/0.839, allocations: 1.254 MB / 1.104 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.009732/0.8488, allocations: 4.337 MB / 1.108 GB, free: 11.2 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/jenkins1/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