Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001447/0.001447, allocations: 106.1 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.001642/0.001642, allocations: 194.1 kB / 17.35 MB, free: 5.578 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.459/2.459, allocations: 437 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7058, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005262/0.7112, allocations: 4.171 MB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.7145, allocations: 2.409 MB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.7148, allocations: 12 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.7163, allocations: 0.5359 MB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.7168, allocations: 250.1 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.717, allocations: 143.8 kB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007845/0.7178, allocations: 0.8098 MB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.7183, allocations: 326.5 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.7187, allocations: 291 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.719, allocations: 330.6 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.952e-05/0.7191, allocations: 76 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.7192, allocations: 72 kB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.7194, allocations: 175.4 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.7197, allocations: 378.3 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009139/0.7207, allocations: 1.006 MB / 1.178 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7207, allocations: 0 / 1.178 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7207, allocations: 0 / 1.178 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.7207, allocations: 0 / 1.178 GB, free: 8.793 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001389/0.7221, allocations: 0.9652 MB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.7222, allocations: 8.922 kB / 1.179 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.7223, allocations: 84.47 kB / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.7229, allocations: 462 kB / 1.18 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.723, allocations: 33.38 kB / 1.18 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.723, allocations: 52.36 kB / 1.18 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007311/0.7238, allocations: 430.7 kB / 1.18 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.7238, allocations: 3.953 kB / 1.18 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.7239, allocations: 20 kB / 1.18 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.7239, allocations: 12 kB / 1.18 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.7246, allocations: 375.7 kB / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.7267, allocations: 1.516 MB / 1.182 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.7272, allocations: 350.7 kB / 1.182 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.7277, allocations: 318.3 kB / 1.183 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.7277, allocations: 4 kB / 1.183 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.7278, allocations: 42.5 kB / 1.183 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=42): time 4.318e-06/0.7278, allocations: 0 / 1.183 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42): time 0.0009923/0.7288, allocations: 0.4934 MB / 1.183 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.7288, allocations: 60.16 kB / 1.183 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.7294, allocations: 485.9 kB / 1.184 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.7294, allocations: 37.7 kB / 1.184 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.7297, allocations: 276.7 kB / 1.184 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.7298, allocations: 150.6 kB / 1.184 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.7299, allocations: 62.08 kB / 1.184 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.73, allocations: 366.8 kB / 1.184 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.7303, allocations: 124.6 kB / 1.185 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.7306, allocations: 125.2 kB / 1.185 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000525/0.7311, allocations: 298.4 kB / 1.185 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7311, allocations: 0 / 1.185 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006872/0.7318, allocations: 400.5 kB / 1.185 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7318, allocations: 7.938 kB / 1.185 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.7318, allocations: 0 / 1.185 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7319, allocations: 4 kB / 1.185 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.7324, allocations: 127.9 kB / 1.185 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.7324, allocations: 0 / 1.185 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.7327, allocations: 43.72 kB / 1.185 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.7327, allocations: 8 kB / 1.186 GB, free: 0.8984 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 (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.0002237/0.7329, allocations: 193.8 kB / 1.186 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/0.733, allocations: 55.61 kB / 1.186 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.7331, allocations: 69.03 kB / 1.186 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7331, allocations: 0 / 1.186 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.7331, allocations: 3.984 kB / 1.186 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.7333, allocations: 140.6 kB / 1.186 GB, free: 420 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.7333, allocations: 8 kB / 1.186 GB, free: 412 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.7336, allocations: 8 kB / 1.186 GB, free: 404 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.7337, allocations: 31.95 kB / 1.186 GB, free: 372 kB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001172/0.7348, allocations: 0.5095 MB / 1.186 GB, free: 15.85 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001033/0.7359, allocations: 0.7323 MB / 1.187 GB, free: 15.1 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002895/0.7362, allocations: 167.9 kB / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000389/0.7366, allocations: 351.1 kB / 1.188 GB, free: 14.59 MB / 0.92 GB Notification: Performance of Backend: time 7.81e-07/0.7366, allocations: 0 / 1.188 GB, free: 14.59 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007373/0.7373, allocations: 280.4 kB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of SimCode: time 0.002042/0.7394, allocations: 1.649 MB / 1.19 GB, free: 12.61 MB / 0.92 GB Notification: Performance of Templates: time 0.01289/0.7523, allocations: 6.903 MB / 1.196 GB, free: 5.848 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches