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.00152/0.00152, allocations: 102.7 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.001562/0.001562, allocations: 189.7 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.246/2.246, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.77 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2725, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002499/0.275, allocations: 1.42 MB / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004383/0.2794, allocations: 3.026 MB / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.2795, allocations: 3.938 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.2796, allocations: 15.86 kB / 0.9547 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.2798, allocations: 31.84 kB / 0.9547 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.2823, allocations: 0.9865 MB / 0.9557 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2824, allocations: 79.8 kB / 0.9557 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.2824, allocations: 7.938 kB / 0.9557 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.2825, allocations: 47.77 kB / 0.9558 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.2828, allocations: 161.6 kB / 0.9559 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.2828, allocations: 12 kB / 0.956 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.2847, allocations: 1.377 MB / 0.9573 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006377/0.2853, allocations: 0.6836 MB / 0.958 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.2857, allocations: 437 kB / 0.9584 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.2875, allocations: 1.78 MB / 0.9601 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2875, allocations: 4 kB / 0.9601 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2875, allocations: 0 / 0.9601 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.2876, allocations: 0 / 0.9601 GB, free: 14.77 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.0105/0.2981, allocations: 1.695 MB / 0.9618 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2981, allocations: 8.031 kB / 0.9618 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.2985, allocations: 138.9 kB / 0.9619 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.2991, allocations: 0.5251 MB / 0.9624 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2991, allocations: 384 / 0.9624 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.2992, allocations: 12.38 kB / 0.9624 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.2996, allocations: 391.5 kB / 0.9628 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2996, allocations: 3.938 kB / 0.9628 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2996, allocations: 0 / 0.9628 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2997, allocations: 0 / 0.9628 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.3001, allocations: 439.7 kB / 0.9632 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007421/0.3008, allocations: 0.7996 MB / 0.964 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.3014, allocations: 0.5671 MB / 0.9646 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.3017, allocations: 337.7 kB / 0.9649 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.3028, allocations: 1.032 MB / 0.9659 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003969/0.3032, allocations: 416.7 kB / 0.9663 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3032, allocations: 3.938 kB / 0.9663 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001315/0.3045, allocations: 1.331 MB / 0.9676 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3046, allocations: 89.03 kB / 0.9677 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.3063, allocations: 1.846 MB / 0.9695 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.3064, allocations: 29.7 kB / 0.9695 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.3067, allocations: 477.4 kB / 0.97 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.3068, allocations: 27.72 kB / 0.97 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.3071, allocations: 351.5 kB / 0.9703 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3072, allocations: 305.1 kB / 0.9706 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.3085, allocations: 1.506 MB / 0.9721 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3099, allocations: 1.642 MB / 0.9737 GB, free: 292 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007071/0.317, allocations: 3.69 MB / 0.9773 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.317, allocations: 3.938 kB / 0.9773 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004487/0.3215, allocations: 4.32 MB / 0.9815 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3215, allocations: 8 kB / 0.9815 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.3216, allocations: 4.031 kB / 0.9815 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3216, allocations: 0 / 0.9815 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3217, allocations: 23.92 kB / 0.9816 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3217, allocations: 4 kB / 0.9816 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.3223, allocations: 224.3 kB / 0.9818 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.3224, allocations: 23.98 kB / 0.9818 GB, free: 7.863 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.000457/0.3228, allocations: 365.5 kB / 0.9822 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3229, allocations: 130 kB / 0.9823 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.3233, allocations: 149 kB / 0.9824 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3233, allocations: 0 / 0.9824 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3233, allocations: 0 / 0.9824 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3233, allocations: 3.984 kB / 0.9824 GB, free: 7.207 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.3239, allocations: 0.6795 MB / 0.9831 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3239, allocations: 4 kB / 0.9831 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.324, allocations: 11.94 kB / 0.9831 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.324, allocations: 7.969 kB / 0.9831 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.324, allocations: 7.984 kB / 0.9831 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.324, allocations: 0 / 0.9831 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.324, allocations: 0 / 0.9831 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/0.325, allocations: 1.051 MB / 0.9841 GB, free: 5.359 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.3251, allocations: 203.1 kB / 0.9843 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.3252, allocations: 8 kB / 0.9843 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3254, allocations: 0 / 0.9843 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3255, allocations: 7.984 kB / 0.9844 GB, free: 5.125 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.3255, allocations: 11.98 kB / 0.9844 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001177/0.3267, allocations: 1.104 MB / 0.9854 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3267, allocations: 3.938 kB / 0.9854 GB, free: 3.98 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00109/0.3278, allocations: 435.8 kB / 0.9859 GB, free: 3.555 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.001138/0.329, allocations: 486.7 kB / 0.9863 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002361/0.3313, allocations: 2.655 MB / 0.9889 GB, free: 420 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3314, allocations: 0 / 0.9889 GB, free: 420 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.3317, allocations: 344.1 kB / 0.9892 GB, free: 76 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.3321, allocations: 50.62 kB / 0.9893 GB, free: 20 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.335, allocations: 2.655 MB / 0.9919 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/0.3357, allocations: 1.153 MB / 0.993 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3358, allocations: 27.41 kB / 0.993 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of SimCode: time 1.863e-06/0.3359, allocations: 0 / 0.993 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.02417/0.36, allocations: 15.04 MB / 1.008 GB, free: 13.07 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