Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001436, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001496/0.001497, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 13.75 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.249/2.249, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 64.61 kB / 0.8127 GB, free: 32.42 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2924, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002895/0.2954, allocations: 1.475 MB / 0.9513 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004568/0.3, allocations: 3.04 MB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.3, allocations: 0 / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.3002, allocations: 7.922 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.3005, allocations: 27.84 kB / 0.9543 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.3032, allocations: 0.8861 MB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.3034, allocations: 75.75 kB / 0.9552 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.3034, allocations: 11.88 kB / 0.9552 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.3035, allocations: 43.89 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.3038, allocations: 228.9 kB / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.3039, allocations: 12 kB / 0.9555 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.3061, allocations: 1.416 MB / 0.9569 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006182/0.3067, allocations: 0.6797 MB / 0.9575 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.3071, allocations: 448.9 kB / 0.9579 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.3088, allocations: 1.208 MB / 0.9591 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3088, allocations: 0 / 0.9591 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3088, allocations: 0 / 0.9591 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.16e-05/0.3089, allocations: 0 / 0.9591 GB, free: 15.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009826/0.3187, allocations: 1.698 MB / 0.9608 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3188, allocations: 12.02 kB / 0.9608 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005042/0.3193, allocations: 142.9 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.3199, allocations: 0.5212 MB / 0.9614 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.32, allocations: 384 / 0.9614 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.32, allocations: 12.38 kB / 0.9615 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.3205, allocations: 395.4 kB / 0.9618 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3205, allocations: 0 / 0.9618 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3206, allocations: 0 / 0.9618 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3206, allocations: 4 kB / 0.9618 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.321, allocations: 435.7 kB / 0.9623 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.322, allocations: 0.8035 MB / 0.963 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.3225, allocations: 0.571 MB / 0.9636 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.3228, allocations: 337.7 kB / 0.9639 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.324, allocations: 1.036 MB / 0.9649 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.3244, allocations: 412.7 kB / 0.9653 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.3244, allocations: 0 / 0.9653 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001376/0.3258, allocations: 1.335 MB / 0.9666 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.3259, allocations: 85.11 kB / 0.9667 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.3278, allocations: 1.85 MB / 0.9685 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.3279, allocations: 29.7 kB / 0.9685 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.3283, allocations: 481.2 kB / 0.969 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.3283, allocations: 27.72 kB / 0.969 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/0.3287, allocations: 343.5 kB / 0.9694 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.3288, allocations: 305.1 kB / 0.9696 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.3301, allocations: 1.506 MB / 0.9711 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.3315, allocations: 1.65 MB / 0.9727 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007163/0.3386, allocations: 3.686 MB / 0.9763 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3387, allocations: 3.938 kB / 0.9763 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004602/0.3433, allocations: 4.323 MB / 0.9806 GB, free: 9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.3433, allocations: 8 kB / 0.9806 GB, free: 8.992 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.3434, allocations: 4 kB / 0.9806 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3434, allocations: 0 / 0.9806 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3436, allocations: 19.92 kB / 0.9806 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3436, allocations: 4 kB / 0.9806 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/0.3442, allocations: 224.3 kB / 0.9808 GB, free: 8.742 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.3443, allocations: 23.98 kB / 0.9808 GB, free: 8.719 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0004798/0.3448, allocations: 369.5 kB / 0.9812 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.3449, allocations: 122 kB / 0.9813 GB, free: 8.227 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.3454, allocations: 153 kB / 0.9814 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3454, allocations: 0 / 0.9814 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3454, allocations: 0 / 0.9814 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.3454, allocations: 0 / 0.9814 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006763/0.3461, allocations: 0.6794 MB / 0.9821 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3461, allocations: 8.031 kB / 0.9821 GB, free: 7.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.3462, allocations: 7.938 kB / 0.9821 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3462, allocations: 0 / 0.9821 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3462, allocations: 7.984 kB / 0.9821 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3462, allocations: 0 / 0.9821 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3462, allocations: 0 / 0.9821 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/0.3472, allocations: 1.055 MB / 0.9832 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.3474, allocations: 203.1 kB / 0.9833 GB, free: 6.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.3475, allocations: 4 kB / 0.9834 GB, free: 6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3478, allocations: 0 / 0.9834 GB, free: 6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.3478, allocations: 11.98 kB / 0.9834 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.3478, allocations: 11.98 kB / 0.9834 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001193/0.349, allocations: 1.104 MB / 0.9845 GB, free: 4.848 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3491, allocations: 4 kB / 0.9845 GB, free: 4.844 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001094/0.3502, allocations: 431.8 kB / 0.9849 GB, free: 4.422 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001502/0.3517, allocations: 486.8 kB / 0.9853 GB, free: 3.938 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.3541, allocations: 2.654 MB / 0.9879 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3541, allocations: 3.938 kB / 0.9879 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.3544, allocations: 343.8 kB / 0.9883 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.3549, allocations: 50.42 kB / 0.9883 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.3583, allocations: 2.921 MB / 0.9912 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.359, allocations: 1.157 MB / 0.9923 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.3592, allocations: 27.41 kB / 0.9923 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of SimCode: time 8.12e-07/0.3592, allocations: 0 / 0.9923 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.02525/0.3845, allocations: 15.03 MB / 1.007 GB, free: 13.66 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,gFun_int Variables in the result:gFun_int,time