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.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.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.001354/0.001354, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001324/0.001324, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.241/2.241, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 62.3 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3074, allocations: 140.4 MB / 0.9503 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00255/0.31, allocations: 1.428 MB / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004022/0.314, allocations: 2.847 MB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.3141, allocations: 0 / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.3141, allocations: 3.938 kB / 0.9545 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.3142, allocations: 19.84 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.3179, allocations: 1.547 MB / 0.956 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.318, allocations: 51.67 kB / 0.9561 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.318, allocations: 3.938 kB / 0.9561 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.3181, allocations: 15.92 kB / 0.9561 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.067e-05/0.3181, allocations: 19.92 kB / 0.9561 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3181, allocations: 0 / 0.9561 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.3201, allocations: 1.416 MB / 0.9575 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.3201, allocations: 11.92 kB / 0.9575 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.3202, allocations: 15.88 kB / 0.9575 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.3215, allocations: 1.072 MB / 0.9586 GB, free: 364 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3215, allocations: 8 kB / 0.9586 GB, free: 356 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3215, allocations: 0 / 0.9586 GB, free: 356 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3216, allocations: 0 / 0.9586 GB, free: 356 kB / 0.7325 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.0005833/0.3221, allocations: 0.5069 MB / 0.9591 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3222, allocations: 12.02 kB / 0.9591 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.3223, allocations: 84.12 kB / 0.9592 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3224, allocations: 247.5 kB / 0.9594 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.3224, allocations: 150.9 kB / 0.9596 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.3225, allocations: 154.9 kB / 0.9597 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.431e-05/0.3226, allocations: 113 kB / 0.9598 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.3226, allocations: 75.28 kB / 0.9599 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.3227, allocations: 154.6 kB / 0.96 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.3227, allocations: 154.6 kB / 0.9602 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.3228, allocations: 154.6 kB / 0.9603 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.323, allocations: 461.9 kB / 0.9608 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.33e-05/0.3231, allocations: 173.1 kB / 0.9609 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.3232, allocations: 84.19 kB / 0.961 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3232, allocations: 83.27 kB / 0.9611 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.3232, allocations: 109.8 kB / 0.9612 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3232, allocations: 0 / 0.9612 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.211e-05/0.3233, allocations: 33.61 kB / 0.9612 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.3234, allocations: 130.7 kB / 0.9614 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3235, allocations: 132.3 kB / 0.9615 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3235, allocations: 25.7 kB / 0.9615 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.3236, allocations: 96.14 kB / 0.9616 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3236, allocations: 0 / 0.9616 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3236, allocations: 17.7 kB / 0.9616 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.3237, allocations: 322.8 kB / 0.9619 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.3238, allocations: 0 / 0.9619 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.3238, allocations: 4 kB / 0.9619 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.3238, allocations: 24.84 kB / 0.9619 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3238, allocations: 0 / 0.9619 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.324, allocations: 53.58 kB / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.324, allocations: 8.062 kB / 0.962 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.324, allocations: 4 kB / 0.962 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.324, allocations: 3.984 kB / 0.962 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3241, allocations: 3.938 kB / 0.962 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3241, allocations: 0 / 0.962 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.3241, allocations: 3.938 kB / 0.962 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.3241, allocations: 4 kB / 0.962 GB, free: 12.59 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 9.192e-05/0.3242, allocations: 181.1 kB / 0.9622 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.3243, allocations: 116.8 kB / 0.9623 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.3243, allocations: 112.6 kB / 0.9624 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.106e-05/0.3244, allocations: 188.2 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/0.3244, allocations: 176.3 kB / 0.9628 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/0.3245, allocations: 180.2 kB / 0.9629 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3247, allocations: 413.2 kB / 0.9633 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.3248, allocations: 112.8 kB / 0.9634 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.3248, allocations: 101 kB / 0.9635 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-05/0.3249, allocations: 180.3 kB / 0.9637 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/0.3249, allocations: 184.2 kB / 0.9639 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.111e-05/0.325, allocations: 180.2 kB / 0.9641 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.647e-05/0.3251, allocations: 184.2 kB / 0.9642 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.3252, allocations: 315.7 kB / 0.9645 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.3253, allocations: 186 kB / 0.9647 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.3253, allocations: 176.3 kB / 0.9649 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.3254, allocations: 112.9 kB / 0.965 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3255, allocations: 180.3 kB / 0.9652 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.3255, allocations: 105 kB / 0.9653 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.3256, allocations: 95.27 kB / 0.9653 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3256, allocations: 0 / 0.9653 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006839/0.3263, allocations: 279.8 kB / 0.9656 GB, free: 8.691 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.0009669/0.3273, allocations: 0.5175 MB / 0.9661 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.3274, allocations: 37.7 kB / 0.9662 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3274, allocations: 0 / 0.9662 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3274, allocations: 0 / 0.9662 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3278, allocations: 478 kB / 0.9666 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.3282, allocations: 273.7 kB / 0.9669 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3284, allocations: 0.6846 MB / 0.9675 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.3284, allocations: 7.438 kB / 0.9675 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.3284, allocations: 4 kB / 0.9675 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of Templates: time 0.007424/0.3359, allocations: 4.639 MB / 0.9721 GB, free: 2.004 MB / 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 -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