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.001638/0.001638, allocations: 111.1 kB / 16.42 MB, free: 6.465 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.001901/0.001902, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.09 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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 67.89 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7715, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004695/0.7763, allocations: 4.161 MB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.7793, allocations: 2.408 MB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.7796, allocations: 14.5 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.7812, allocations: 0.5334 MB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005193/0.7818, allocations: 259.4 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.782, allocations: 138.6 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008836/0.7829, allocations: 0.8143 MB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000536/0.7835, allocations: 331.8 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.7839, allocations: 297.6 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.7844, allocations: 324.9 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.7845, allocations: 78.41 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.7847, allocations: 74.28 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.7849, allocations: 168.5 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.7853, allocations: 388.5 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.7865, allocations: 0.9881 MB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7866, allocations: 1.766 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7866, allocations: 3.938 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.7866, allocations: 0 / 1.099 GB, free: 14.67 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.001587/0.7882, allocations: 0.9555 MB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.7882, allocations: 9.672 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.7884, allocations: 72 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.7891, allocations: 456.2 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.7891, allocations: 36.69 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/0.7892, allocations: 48.53 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/0.7901, allocations: 433.7 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.7901, allocations: 5.531 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.7902, allocations: 23.94 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.7902, allocations: 11.25 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000829/0.791, allocations: 365.2 kB / 1.102 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.7937, allocations: 1.523 MB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.7943, allocations: 341.5 kB / 1.103 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/0.7949, allocations: 322.5 kB / 1.104 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.7949, allocations: 4.484 kB / 1.104 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.795, allocations: 36.91 kB / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=42): time 2.053e-06/0.795, allocations: 0 / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42): time 0.001035/0.796, allocations: 0.4999 MB / 1.104 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.7961, allocations: 54.88 kB / 1.104 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.7967, allocations: 487.3 kB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.7967, allocations: 31.84 kB / 1.105 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.797, allocations: 269.4 kB / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.7971, allocations: 148.1 kB / 1.105 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.7973, allocations: 66.02 kB / 1.105 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.7974, allocations: 359.1 kB / 1.106 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.7977, allocations: 124.2 kB / 1.106 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.7979, allocations: 123.5 kB / 1.106 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.7985, allocations: 296.9 kB / 1.106 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7985, allocations: 3.938 kB / 1.106 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006848/0.7992, allocations: 400.5 kB / 1.107 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7992, allocations: 10.3 kB / 1.107 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7992, allocations: 3.938 kB / 1.107 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.7993, allocations: 2.688 kB / 1.107 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.7998, allocations: 124.7 kB / 1.107 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7998, allocations: 1.5 kB / 1.107 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.8, allocations: 39.19 kB / 1.107 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.8, allocations: 15.66 kB / 1.107 GB, free: 10.23 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.0002078/0.8002, allocations: 195.4 kB / 1.107 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.938e-05/0.8003, allocations: 52.16 kB / 1.107 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.8005, allocations: 57.52 kB / 1.107 GB, free: 10 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.8005, allocations: 7.469 kB / 1.107 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8005, allocations: 0 / 1.107 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.8006, allocations: 140.6 kB / 1.107 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.8007, allocations: 10.19 kB / 1.107 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.8009, allocations: 16.06 kB / 1.107 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.801, allocations: 28.09 kB / 1.107 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001121/0.8021, allocations: 0.5059 MB / 1.108 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001053/0.8032, allocations: 0.7311 MB / 1.108 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002867/0.8035, allocations: 168.1 kB / 1.109 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004184/0.8039, allocations: 352.8 kB / 1.109 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of Backend: time 4.91e-07/0.8039, allocations: 1.25 kB / 1.109 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007359/0.8047, allocations: 287.3 kB / 1.109 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002119/0.8068, allocations: 1.615 MB / 1.111 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of Templates: time 0.01399/0.8208, allocations: 6.92 MB / 1.118 GB, free: 7.148 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/jenkins1/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