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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 112.5 kB / 15.99 MB, free: 6.359 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.002213/0.002213, allocations: 191.5 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.238/2.238, allocations: 390.3 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 65.44 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2693, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003049/0.2724, allocations: 1.467 MB / 0.9512 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004714/0.2771, allocations: 3.044 MB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.2773, allocations: 0 / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.2774, allocations: 11.86 kB / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.2777, allocations: 27.91 kB / 0.9543 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.2806, allocations: 0.8822 MB / 0.9551 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.2807, allocations: 83.75 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.2808, allocations: 7.938 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.2809, allocations: 39.84 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.2812, allocations: 156.9 kB / 0.9554 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.2812, allocations: 16 kB / 0.9554 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.2836, allocations: 1.416 MB / 0.9568 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.2838, allocations: 263.8 kB / 0.957 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.2841, allocations: 270.3 kB / 0.9573 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.2857, allocations: 1.002 MB / 0.9583 GB, free: 500 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2857, allocations: 0 / 0.9583 GB, free: 500 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2857, allocations: 0 / 0.9583 GB, free: 500 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.2858, allocations: 0 / 0.9583 GB, free: 500 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009488/0.2953, allocations: 1.207 MB / 0.9595 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2953, allocations: 12.03 kB / 0.9595 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004475/0.2958, allocations: 87.69 kB / 0.9596 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.2962, allocations: 364.8 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2963, allocations: 4.375 kB / 0.9599 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.2963, allocations: 16.36 kB / 0.9599 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.2968, allocations: 387.5 kB / 0.9603 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2968, allocations: 4 kB / 0.9603 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2969, allocations: 0 / 0.9603 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2969, allocations: 0 / 0.9603 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.2973, allocations: 439.7 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.298, allocations: 0.6248 MB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.2986, allocations: 0.5594 MB / 0.9619 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.2989, allocations: 349.6 kB / 0.9622 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.3, allocations: 1.036 MB / 0.9632 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000434/0.3004, allocations: 408.8 kB / 0.9636 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.3005, allocations: 3.938 kB / 0.9636 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001387/0.3018, allocations: 1.285 MB / 0.9649 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3019, allocations: 85.23 kB / 0.9649 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3032, allocations: 1.206 MB / 0.9661 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.3032, allocations: 29.7 kB / 0.9661 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.3034, allocations: 261.3 kB / 0.9664 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.3035, allocations: 27.72 kB / 0.9664 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/0.3039, allocations: 343.5 kB / 0.9668 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.304, allocations: 310 kB / 0.967 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.3052, allocations: 1.365 MB / 0.9684 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.3066, allocations: 1.499 MB / 0.9698 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007101/0.3137, allocations: 3.538 MB / 0.9733 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3137, allocations: 0 / 0.9733 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004392/0.3181, allocations: 3.965 MB / 0.9772 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3182, allocations: 8 kB / 0.9772 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.3182, allocations: 0 / 0.9772 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3182, allocations: 0 / 0.9772 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3184, allocations: 15.98 kB / 0.9772 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3184, allocations: 4.312 kB / 0.9772 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.3189, allocations: 228.3 kB / 0.9774 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.319, allocations: 28.02 kB / 0.9774 GB, free: 12.23 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.0002986/0.3193, allocations: 237.6 kB / 0.9777 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.3193, allocations: 70.7 kB / 0.9777 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.3197, allocations: 74.89 kB / 0.9778 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3197, allocations: 0 / 0.9778 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3197, allocations: 4 kB / 0.9778 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3197, allocations: 4.031 kB / 0.9778 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.3201, allocations: 496.7 kB / 0.9783 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3202, allocations: 0 / 0.9783 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.3202, allocations: 15.86 kB / 0.9783 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3203, allocations: 4 kB / 0.9783 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3203, allocations: 3.938 kB / 0.9783 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3203, allocations: 0 / 0.9783 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3203, allocations: 11.98 kB / 0.9783 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008686/0.3212, allocations: 0.9935 MB / 0.9793 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.3213, allocations: 159.8 kB / 0.9794 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.3214, allocations: 4 kB / 0.9794 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3215, allocations: 7.984 kB / 0.9795 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3216, allocations: 4 kB / 0.9795 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.3217, allocations: 19.91 kB / 0.9795 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007536/0.3224, allocations: 0.6687 MB / 0.9801 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3224, allocations: 3.938 kB / 0.9801 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001181/0.3236, allocations: 387.9 kB / 0.9805 GB, free: 8.973 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.001551/0.3252, allocations: 498.6 kB / 0.981 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002474/0.3277, allocations: 2.488 MB / 0.9834 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3277, allocations: 4 kB / 0.9834 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.328, allocations: 339.8 kB / 0.9837 GB, free: 5.648 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3284, allocations: 43.88 kB / 0.9838 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3307, allocations: 1.965 MB / 0.9857 GB, free: 3.602 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.3313, allocations: 0.9717 MB / 0.9866 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3314, allocations: 27.42 kB / 0.9867 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of SimCode: time 7.71e-07/0.3314, allocations: 0 / 0.9867 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of Templates: time 0.01823/0.3497, allocations: 10.54 MB / 0.997 GB, free: 8.035 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches