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.001439/0.001439, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001391/0.001391, allocations: 190.3 kB / 16.25 MB, free: 6.152 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.43/2.43, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 0.8121 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7189, allocations: 140.4 MB / 0.9491 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.0045/0.7234, allocations: 3.081 MB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.7263, allocations: 2.112 MB / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.7267, allocations: 5.344 kB / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.7284, allocations: 487 kB / 0.9547 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.7288, allocations: 125 kB / 0.9548 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.729, allocations: 53.98 kB / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000572/0.7296, allocations: 447.6 kB / 0.9553 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.7298, allocations: 157.8 kB / 0.9554 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.7302, allocations: 155.9 kB / 0.9556 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.7305, allocations: 188.4 kB / 0.9557 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.7305, allocations: 33.62 kB / 0.9558 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.7306, allocations: 34.72 kB / 0.9558 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.7308, allocations: 99.53 kB / 0.9559 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.731, allocations: 221 kB / 0.9561 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.7314, allocations: 0.5418 MB / 0.9566 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7314, allocations: 0 / 0.9566 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7314, allocations: 0 / 0.9566 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.7314, allocations: 0 / 0.9566 GB, free: 3.277 MB / 0.7169 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.001057/0.7325, allocations: 0.7008 MB / 0.9573 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7326, allocations: 13.06 kB / 0.9573 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.7327, allocations: 45.97 kB / 0.9574 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.7331, allocations: 371.5 kB / 0.9577 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.7331, allocations: 21 kB / 0.9578 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.7332, allocations: 18.12 kB / 0.9578 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.7336, allocations: 203.3 kB / 0.958 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.7336, allocations: 0 / 0.958 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.7336, allocations: 13.36 kB / 0.958 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.7336, allocations: 5.5 kB / 0.958 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.734, allocations: 163.2 kB / 0.9581 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.7352, allocations: 0.8748 MB / 0.959 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.7355, allocations: 149 kB / 0.9591 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.7357, allocations: 114.4 kB / 0.9593 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.7358, allocations: 6.844 kB / 0.9593 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.7358, allocations: 35.62 kB / 0.9593 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.7358, allocations: 0 / 0.9593 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0006062/0.7364, allocations: 259.5 kB / 0.9595 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.7364, allocations: 52.78 kB / 0.9596 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.7369, allocations: 416.2 kB / 0.96 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.7369, allocations: 34.61 kB / 0.96 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.737, allocations: 205 kB / 0.9602 GB, free: 460 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.7371, allocations: 62.64 kB / 0.9603 GB, free: 404 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.7372, allocations: 36.64 kB / 0.9603 GB, free: 372 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.7372, allocations: 351.9 kB / 0.9606 GB, free: 20 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.7374, allocations: 56.44 kB / 0.9607 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.7376, allocations: 59.05 kB / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.7379, allocations: 140.1 kB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.7379, allocations: 0 / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004136/0.7383, allocations: 202.9 kB / 0.9611 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7384, allocations: 4.594 kB / 0.9611 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.7384, allocations: 0 / 0.9611 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.7384, allocations: 5.281 kB / 0.9611 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.7387, allocations: 57.34 kB / 0.9611 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.7387, allocations: 5.188 kB / 0.9612 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.7389, allocations: 24.64 kB / 0.9612 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.7389, allocations: 7.375 kB / 0.9612 GB, free: 15.73 MB / 0.7325 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.0002221/0.7392, allocations: 162.9 kB / 0.9613 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.7393, allocations: 31.88 kB / 0.9614 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.7394, allocations: 43.12 kB / 0.9614 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.7394, allocations: 6.156 kB / 0.9614 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.7394, allocations: 5.016 kB / 0.9614 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.7394, allocations: 0 / 0.9614 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.74, allocations: 374.4 kB / 0.9618 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.74, allocations: 0 / 0.9618 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.7403, allocations: 61.27 kB / 0.9618 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.7403, allocations: 1.094 kB / 0.9618 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.7404, allocations: 9.031 kB / 0.9618 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.7404, allocations: 1.156 kB / 0.9618 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7404, allocations: 0 / 0.9618 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/0.7412, allocations: 377.2 kB / 0.9622 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.7413, allocations: 115.9 kB / 0.9623 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.7414, allocations: 9.156 kB / 0.9623 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.7416, allocations: 13.2 kB / 0.9623 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.7416, allocations: 17.5 kB / 0.9624 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.7416, allocations: 11.56 kB / 0.9624 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004488/0.7421, allocations: 305.2 kB / 0.9627 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7421, allocations: 1.156 kB / 0.9627 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000365/0.7425, allocations: 71.97 kB / 0.9627 GB, free: 14.57 MB / 0.7325 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.000186/0.7427, allocations: 104.8 kB / 0.9628 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.7431, allocations: 159.5 kB / 0.963 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7432, allocations: 0 / 0.963 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.7434, allocations: 77.19 kB / 0.9631 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007592/0.7441, allocations: 91.27 kB / 0.9631 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.7458, allocations: 0.8687 MB / 0.964 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.7464, allocations: 0.801 MB / 0.9648 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.7466, allocations: 34.95 kB / 0.9648 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.7467, allocations: 27.34 kB / 0.9648 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of SimCode: time 6.52e-07/0.7467, allocations: 0 / 0.9648 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.01072/0.7574, allocations: 3.885 MB / 0.9686 GB, free: 11.08 MB / 0.7325 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/jenkins/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