Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008815/0.008815, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001993/0.001993, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.162/2.162, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 71.83 kB / 0.9509 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7928/0.7943, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004875/0.7993, allocations: 4.153 MB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00332/0.8026, allocations: 2.416 MB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.803, allocations: 9.906 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.8047, allocations: 0.5381 MB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005487/0.8053, allocations: 250.5 kB / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.8056, allocations: 135 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008453/0.8064, allocations: 0.8102 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.8069, allocations: 322.8 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.8074, allocations: 295.7 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.8078, allocations: 328.4 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.808, allocations: 73.62 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.8081, allocations: 78.66 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.8083, allocations: 181.3 kB / 1.097 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.8087, allocations: 380.1 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.8098, allocations: 0.9889 MB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8099, allocations: 0 / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8099, allocations: 0 / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.8099, allocations: 5.625 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001626/0.8115, allocations: 0.9475 MB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.8116, allocations: 9.344 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.8117, allocations: 73.28 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.8124, allocations: 459.6 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.8124, allocations: 37 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.8125, allocations: 47.56 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008505/0.8134, allocations: 430.8 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.8134, allocations: 4.656 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.8134, allocations: 24.42 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.8135, allocations: 11.09 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008431/0.8143, allocations: 373.1 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.817, allocations: 1.52 MB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.8177, allocations: 341.5 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.8185, allocations: 326.7 kB / 1.103 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.8185, allocations: 4.094 kB / 1.103 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.8186, allocations: 45.38 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=42): time 2.605e-06/0.8186, allocations: 0 / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42): time 0.001229/0.8198, allocations: 0.4903 MB / 1.104 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.8199, allocations: 57.5 kB / 1.104 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006716/0.8205, allocations: 486.4 kB / 1.104 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.8206, allocations: 31.05 kB / 1.104 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.8208, allocations: 275.7 kB / 1.104 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.8209, allocations: 141.7 kB / 1.105 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.8211, allocations: 62.11 kB / 1.105 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.8212, allocations: 363.5 kB / 1.105 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.8215, allocations: 123.8 kB / 1.105 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.8218, allocations: 124.6 kB / 1.105 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.8224, allocations: 299.8 kB / 1.105 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8224, allocations: 0 / 1.105 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007395/0.8231, allocations: 405.7 kB / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.8232, allocations: 7.109 kB / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.8232, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.8232, allocations: 1.344 kB / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.8238, allocations: 124.4 kB / 1.106 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.8238, allocations: 2.688 kB / 1.106 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.8241, allocations: 38.64 kB / 1.106 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.8241, allocations: 12.75 kB / 1.106 GB, free: 10.25 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 (46): * Single equations (assignments): 46 * 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.000256/0.8244, allocations: 206.9 kB / 1.106 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.8245, allocations: 52.38 kB / 1.106 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.8246, allocations: 57.5 kB / 1.106 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.8247, allocations: 3.438 kB / 1.106 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.8247, allocations: 2.547 kB / 1.106 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.8247, allocations: 1.828 kB / 1.106 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.8257, allocations: 0.5737 MB / 1.107 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8257, allocations: 0.7969 kB / 1.107 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.8263, allocations: 131.7 kB / 1.107 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.8263, allocations: 2.5 kB / 1.107 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.8264, allocations: 10.73 kB / 1.107 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.8264, allocations: 1.188 kB / 1.107 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8264, allocations: 0.9062 kB / 1.107 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.8277, allocations: 0.6446 MB / 1.108 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.8279, allocations: 136.1 kB / 1.108 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.828, allocations: 11.16 kB / 1.108 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.8282, allocations: 10.61 kB / 1.108 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.8283, allocations: 29.34 kB / 1.108 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.8284, allocations: 6.688 kB / 1.108 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005253/0.8289, allocations: 354.1 kB / 1.108 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8289, allocations: 0 / 1.108 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005534/0.8295, allocations: 148.2 kB / 1.108 GB, free: 8.914 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0002003/0.8297, allocations: 117 kB / 1.108 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007988/0.8305, allocations: 317.8 kB / 1.109 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8305, allocations: 0 / 1.109 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.8309, allocations: 179.7 kB / 1.109 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.8316, allocations: 143.5 kB / 1.109 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.8341, allocations: 1.189 MB / 1.11 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.8347, allocations: 0.8729 MB / 1.111 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.835, allocations: 55.41 kB / 1.111 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.8351, allocations: 36.16 kB / 1.111 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.8351, allocations: 0 / 1.111 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of Templates: time 0.01445/0.8495, allocations: 6.021 MB / 1.117 GB, free: 6.73 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches