Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 104.2 kB / 16.35 MB, free: 5.824 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.001523/0.001523, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.2 kB / 0.8141 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 140.4 MB / 0.9512 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002834/0.309, allocations: 1.43 MB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004167/0.3132, allocations: 2.851 MB / 0.9554 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.3133, allocations: 0 / 0.9554 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.3133, allocations: 3.938 kB / 0.9554 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.3134, allocations: 11.86 kB / 0.9554 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.3173, allocations: 1.542 MB / 0.9569 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.3175, allocations: 43.67 kB / 0.9569 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.3175, allocations: 11.92 kB / 0.9569 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.3176, allocations: 15.92 kB / 0.9569 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.545e-05/0.3176, allocations: 19.92 kB / 0.957 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3176, allocations: 0 / 0.957 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.32, allocations: 1.486 MB / 0.9584 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.3201, allocations: 7.938 kB / 0.9584 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.3201, allocations: 19.88 kB / 0.9584 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.3217, allocations: 1.076 MB / 0.9595 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3217, allocations: 0 / 0.9595 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3218, allocations: 0 / 0.9595 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.3218, allocations: 0 / 0.9595 GB, free: 15.46 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007227/0.3225, allocations: 0.5069 MB / 0.96 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.3226, allocations: 12.03 kB / 0.96 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.3227, allocations: 80.12 kB / 0.9601 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.3229, allocations: 257.6 kB / 0.9603 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/0.323, allocations: 150.9 kB / 0.9605 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.3231, allocations: 158.9 kB / 0.9606 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3232, allocations: 109.1 kB / 0.9607 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.3233, allocations: 75.28 kB / 0.9608 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.3234, allocations: 150.6 kB / 0.9609 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.3235, allocations: 154.6 kB / 0.9611 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3236, allocations: 158.5 kB / 0.9612 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.324, allocations: 461.9 kB / 0.9617 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3241, allocations: 169.1 kB / 0.9618 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.3242, allocations: 96.12 kB / 0.9619 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.3242, allocations: 75.28 kB / 0.962 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.272e-05/0.3243, allocations: 109.8 kB / 0.9621 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.3243, allocations: 0 / 0.9621 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001063/0.3244, allocations: 41.55 kB / 0.9621 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.3245, allocations: 126.7 kB / 0.9623 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3247, allocations: 129.8 kB / 0.9624 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3247, allocations: 25.7 kB / 0.9624 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.3248, allocations: 100.1 kB / 0.9625 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.3248, allocations: 0 / 0.9625 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.3249, allocations: 13.72 kB / 0.9625 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3251, allocations: 318.8 kB / 0.9628 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.3251, allocations: 4 kB / 0.9628 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.3251, allocations: 4 kB / 0.9628 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.3252, allocations: 16.89 kB / 0.9629 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3252, allocations: 0 / 0.9629 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001684/0.3254, allocations: 57.47 kB / 0.9629 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3254, allocations: 8 kB / 0.9629 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.3254, allocations: 0 / 0.9629 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3255, allocations: 0 / 0.9629 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.3255, allocations: 4 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3255, allocations: 0 / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.3255, allocations: 3.938 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3255, allocations: 0 / 0.9629 GB, free: 11.71 MB / 0.7481 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001261/0.3256, allocations: 189.2 kB / 0.9631 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.3257, allocations: 112.8 kB / 0.9632 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.3258, allocations: 116.8 kB / 0.9633 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.617e-05/0.3259, allocations: 176.3 kB / 0.9635 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.667e-05/0.326, allocations: 180.2 kB / 0.9637 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001162/0.3261, allocations: 184.3 kB / 0.9638 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.3265, allocations: 413.1 kB / 0.9642 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.853e-05/0.3265, allocations: 112.9 kB / 0.9643 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.3266, allocations: 101 kB / 0.9644 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.662e-05/0.3267, allocations: 180.2 kB / 0.9646 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.924e-05/0.3268, allocations: 176.3 kB / 0.9648 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.782e-05/0.3269, allocations: 192.2 kB / 0.965 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.374e-05/0.327, allocations: 176.3 kB / 0.9651 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3272, allocations: 315.7 kB / 0.9654 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.3273, allocations: 190 kB / 0.9656 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3274, allocations: 184.2 kB / 0.9658 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.3275, allocations: 101 kB / 0.9659 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3276, allocations: 180.3 kB / 0.9661 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.3277, allocations: 116.9 kB / 0.9662 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.041e-05/0.3278, allocations: 101.8 kB / 0.9663 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3278, allocations: 3.938 kB / 0.9663 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009473/0.3287, allocations: 267.8 kB / 0.9665 GB, free: 7.801 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001135/0.3299, allocations: 0.5215 MB / 0.967 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.33, allocations: 37.7 kB / 0.9671 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.33, allocations: 0 / 0.9671 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.33, allocations: 0 / 0.9671 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.3305, allocations: 479.6 kB / 0.9675 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.3309, allocations: 237 kB / 0.9677 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3312, allocations: 0.6846 MB / 0.9684 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.3312, allocations: 3.938 kB / 0.9684 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.3312, allocations: 15.44 kB / 0.9684 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of SimCode: time 2e-07/0.3312, allocations: 0 / 0.9684 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of Templates: time 0.009767/0.341, allocations: 5.438 MB / 0.9737 GB, free: 392 kB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches